From bb3c688690b4e2b13195ba11fca938851746136d Mon Sep 17 00:00:00 2001 From: fcolin Date: Thu, 1 Feb 2007 10:05:45 +0000 Subject: Utilisateur : Fcolin Date : 30/06/06 Heure : 13:40 Archivé dans $/CSharp/Ivy/IvyProbe Commentaire: gestion designer (vss 13) --- CSharp/Ivy/IvyProbe/IvyProbe.Designer.cs | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/CSharp/Ivy/IvyProbe/IvyProbe.Designer.cs b/CSharp/Ivy/IvyProbe/IvyProbe.Designer.cs index 35c4931..ddcfe28 100644 --- a/CSharp/Ivy/IvyProbe/IvyProbe.Designer.cs +++ b/CSharp/Ivy/IvyProbe/IvyProbe.Designer.cs @@ -39,7 +39,7 @@ namespace IvyProbe this.btBindSimple = new System.Windows.Forms.Button(); this.busDomain = new IvyBus.IvyDomain(); this.bus = new IvyBus.Ivy(); - this.ivyprobreg = new IvyBus.IvyApplicationBinding(); + this.ivyApplicationBinding1 = new IvyBus.IvyApplicationBinding(); ((System.ComponentModel.ISupportInitialize)(this.bus)).BeginInit(); this.SuspendLayout(); // @@ -146,10 +146,9 @@ namespace IvyProbe // this.bus.AppName = "IvyProbeC#"; this.bus.AppPriority = ((ushort)(100)); - this.bus.Bindings.Add(this.ivyprobreg); + this.bus.Bindings.Add(this.ivyApplicationBinding1); 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.DirectMessageReceived += new System.EventHandler(this.directMessage); @@ -159,15 +158,16 @@ namespace IvyProbe this.bus.BindingRemove += new System.EventHandler(this.bus_removeBinding); this.bus.DieReceived += new System.EventHandler(this.die); // - // ivyprobreg + // ivyApplicationBinding1 // - this.ivyprobreg.Binding = IvyBus.BindingType.Regexp; - this.ivyprobreg.Expression = "^ivyprobe(.*)"; - this.ivyprobreg.Callback += new System.EventHandler(this.ivyprobe); + this.ivyApplicationBinding1.Arguments.AddRange(new string[] { + "Name"}); + this.ivyApplicationBinding1.Binding = IvyBus.BindingType.Regexp; + this.ivyApplicationBinding1.Expression = "^{0}(.*)"; + this.ivyApplicationBinding1.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); @@ -204,7 +204,7 @@ namespace IvyProbe private System.Windows.Forms.Button btUnbind; private IvyBus.IvyDomain busDomain; private IvyBus.Ivy bus; - private IvyBus.IvyApplicationBinding ivyprobreg; + private IvyBus.IvyApplicationBinding ivyApplicationBinding1; } } -- cgit v1.1