diff options
Diffstat (limited to 'CSharp')
-rw-r--r-- | CSharp/Ivy/IvyProbe/IvyProbe.Designer.cs | 22 |
1 files 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<IvyBus.IvyEventArgs>(this.bus_BindingFilter);
this.bus.ErrorMessage += new System.EventHandler<IvyBus.IvyEventArgs>(this.bus_ErrorMessage);
- this.bus.DieReceived += new System.EventHandler<IvyBus.IvyDieEventArgs>(this.die);
- this.bus.BindingAdd += new System.EventHandler<IvyBus.IvyEventArgs>(this.bus_addBinding);
this.bus.DirectMessageReceived += new System.EventHandler<IvyBus.IvyEventArgs>(this.directMessage);
- this.bus.BindingRemove += new System.EventHandler<IvyBus.IvyEventArgs>(this.bus_removeBinding);
- this.bus.ClientDisconnected += new System.EventHandler<IvyBus.IvyEventArgs>(this.disconnect);
+ this.bus.BindingAdd += new System.EventHandler<IvyBus.IvyEventArgs>(this.bus_addBinding);
this.bus.ClientConnected += new System.EventHandler<IvyBus.IvyEventArgs>(this.connect);
+ this.bus.ClientDisconnected += new System.EventHandler<IvyBus.IvyEventArgs>(this.disconnect);
+ this.bus.BindingRemove += new System.EventHandler<IvyBus.IvyEventArgs>(this.bus_removeBinding);
+ this.bus.DieReceived += new System.EventHandler<IvyBus.IvyDieEventArgs>(this.die);
+ //
+ // ivyprobreg
+ //
+ this.ivyprobreg.Binding = IvyBus.BindingType.Regexp;
+ this.ivyprobreg.Expression = "^ivyprobe(.*)";
+ this.ivyprobreg.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);
@@ -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;
}
}
|