diff options
-rw-r--r-- | CSharp/Ivy/IvyProbe/IvyProbe.Designer.cs | 18 |
1 files 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<IvyBus.IvyEventArgs>(this.bus_BindingFilter);
this.bus.ErrorMessage += new System.EventHandler<IvyBus.IvyEventArgs>(this.bus_ErrorMessage);
this.bus.DirectMessageReceived += new System.EventHandler<IvyBus.IvyEventArgs>(this.directMessage);
@@ -159,15 +158,16 @@ namespace IvyProbe this.bus.BindingRemove += new System.EventHandler<IvyBus.IvyEventArgs>(this.bus_removeBinding);
this.bus.DieReceived += new System.EventHandler<IvyBus.IvyDieEventArgs>(this.die);
//
- // ivyprobreg
+ // ivyApplicationBinding1
//
- this.ivyprobreg.Binding = IvyBus.BindingType.Regexp;
- this.ivyprobreg.Expression = "^ivyprobe(.*)";
- this.ivyprobreg.Callback += new System.EventHandler<IvyBus.IvyMessageEventArgs>(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<IvyBus.IvyMessageEventArgs>(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;
}
}
|