summaryrefslogtreecommitdiff
path: root/CSharp/Ivy/IvyProbe/IvyProbe.Designer.cs
diff options
context:
space:
mode:
authorfcolin2007-02-01 10:05:43 +0000
committerfcolin2007-02-01 10:05:43 +0000
commitc7b93723b9020366669165ea6787eb6553219cf1 (patch)
treed1cdd2f796a02fe80a94694eefd832dde71c8a0a /CSharp/Ivy/IvyProbe/IvyProbe.Designer.cs
parent5242857190a881cb0693fb36b25bc5954bdee8a0 (diff)
downloadivy-csharp-c7b93723b9020366669165ea6787eb6553219cf1.zip
ivy-csharp-c7b93723b9020366669165ea6787eb6553219cf1.tar.gz
ivy-csharp-c7b93723b9020366669165ea6787eb6553219cf1.tar.bz2
ivy-csharp-c7b93723b9020366669165ea6787eb6553219cf1.tar.xz
Utilisateur : Fcolin Date : 23/06/06 Heure : 11:12 Archivé dans $/CSharp/Ivy/IvyProbe Commentaire: (vss 12)
Diffstat (limited to 'CSharp/Ivy/IvyProbe/IvyProbe.Designer.cs')
-rw-r--r--CSharp/Ivy/IvyProbe/IvyProbe.Designer.cs22
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;
}
}