From c7b93723b9020366669165ea6787eb6553219cf1 Mon Sep 17 00:00:00 2001 From: fcolin Date: Thu, 1 Feb 2007 10:05:43 +0000 Subject: Utilisateur : Fcolin Date : 23/06/06 Heure : 11:12 Archivé dans $/CSharp/Ivy/IvyProbe Commentaire: (vss 12) --- CSharp/Ivy/IvyProbe/IvyProbe.Designer.cs | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/CSharp/Ivy/IvyProbe/IvyProbe.Designer.cs b/CSharp/Ivy/IvyProbe/IvyProbe.Designer.cs index 20aff88..35c4931 100644 --- a/CSharp/Ivy/IvyProbe/IvyProbe.Designer.cs +++ b/CSharp/Ivy/IvyProbe/IvyProbe.Designer.cs @@ -39,6 +39,8 @@ namespace IvyProbe this.btBindSimple = new System.Windows.Forms.Button(); this.busDomain = new IvyBus.IvyDomain(); this.bus = new IvyBus.Ivy(); + this.ivyprobreg = new IvyBus.IvyApplicationBinding(); + ((System.ComponentModel.ISupportInitialize)(this.bus)).BeginInit(); this.SuspendLayout(); // // label1 @@ -144,19 +146,28 @@ namespace IvyProbe // this.bus.AppName = "IvyProbeC#"; this.bus.AppPriority = ((ushort)(100)); + this.bus.Bindings.Add(this.ivyprobreg); this.bus.Culture = new System.Globalization.CultureInfo("en-US"); this.bus.ReadyMessage = "IvyProbeC# ready"; this.bus.SyncControl = this; + this.bus.BindingFilter += new System.EventHandler(this.bus_BindingFilter); this.bus.ErrorMessage += new System.EventHandler(this.bus_ErrorMessage); - this.bus.DieReceived += new System.EventHandler(this.die); - this.bus.BindingAdd += new System.EventHandler(this.bus_addBinding); this.bus.DirectMessageReceived += new System.EventHandler(this.directMessage); - this.bus.BindingRemove += new System.EventHandler(this.bus_removeBinding); - this.bus.ClientDisconnected += new System.EventHandler(this.disconnect); + this.bus.BindingAdd += new System.EventHandler(this.bus_addBinding); this.bus.ClientConnected += new System.EventHandler(this.connect); + this.bus.ClientDisconnected += new System.EventHandler(this.disconnect); + this.bus.BindingRemove += new System.EventHandler(this.bus_removeBinding); + this.bus.DieReceived += new System.EventHandler(this.die); + // + // ivyprobreg + // + this.ivyprobreg.Binding = IvyBus.BindingType.Regexp; + this.ivyprobreg.Expression = "^ivyprobe(.*)"; + this.ivyprobreg.Callback += new System.EventHandler(this.ivyprobe); // // IvyProbe // + this.AcceptButton = this.btSend; this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(478, 266); this.Controls.Add(this.busDomain); @@ -169,10 +180,12 @@ namespace IvyProbe this.Controls.Add(this.tbRegexp); this.Controls.Add(this.label2); this.Controls.Add(this.label1); + this.DoubleBuffered = true; this.Name = "IvyProbe"; this.Text = "IvyProbe"; this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.IvyProbe_FormClosed); this.Load += new System.EventHandler(this.IvyProbe_Load); + ((System.ComponentModel.ISupportInitialize)(this.bus)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); @@ -191,6 +204,7 @@ namespace IvyProbe private System.Windows.Forms.Button btUnbind; private IvyBus.IvyDomain busDomain; private IvyBus.Ivy bus; + private IvyBus.IvyApplicationBinding ivyprobreg; } } -- cgit v1.1