From 5e310bef48ed719d15d88aafb9b92e674cb42b96 Mon Sep 17 00:00:00 2001 From: fcolin Date: Mon, 18 Oct 2010 15:42:04 +0000 Subject: utilisation de socket IPV6 si le domain contient un multicast IPV6 genre FF02::1 --- IvyProbe/IvyProbe.Designer.cs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'IvyProbe/IvyProbe.Designer.cs') diff --git a/IvyProbe/IvyProbe.Designer.cs b/IvyProbe/IvyProbe.Designer.cs index af5222a..b723029 100644 --- a/IvyProbe/IvyProbe.Designer.cs +++ b/IvyProbe/IvyProbe.Designer.cs @@ -136,6 +136,7 @@ namespace IvyProbe // // busDomain // + this.busDomain.Domain = "FF02::1:2011"; this.busDomain.Location = new System.Drawing.Point(0, 0); this.busDomain.Margin = new System.Windows.Forms.Padding(0); this.busDomain.Name = "busDomain"; @@ -149,20 +150,20 @@ namespace IvyProbe this.bus.Bindings.Add(this.ivyApplicationBinding1); this.bus.Culture = new System.Globalization.CultureInfo("en-US"); this.bus.ReadyMessage = "IvyProbeC# ready"; - 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); - 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.DirectMessageReceived += new System.EventHandler(this.directMessage); this.bus.DieReceived += new System.EventHandler(this.die); + this.bus.BindingAdd += new System.EventHandler(this.bus_addBinding); + this.bus.BindingRemove += new System.EventHandler(this.bus_removeBinding); + this.bus.BindingFilter += new System.EventHandler(this.bus_BindingFilter); + this.bus.ErrorMessage += new System.EventHandler(this.bus_ErrorMessage); // // ivyApplicationBinding1 // this.ivyApplicationBinding1.Arguments.Add("Name"); this.ivyApplicationBinding1.Binding = IvyBus.BindingType.RegularExpression; - this.ivyApplicationBinding1.Expression = "^%0%(.*)"; + this.ivyApplicationBinding1.Expression = "(^%0%.*)"; this.ivyApplicationBinding1.Callback += new System.EventHandler(this.ivyprobe); // // IvyProbe @@ -179,10 +180,9 @@ 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.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.IvyProbe_FormClosing); this.Load += new System.EventHandler(this.IvyProbe_Load); ((System.ComponentModel.ISupportInitialize)(this.bus)).EndInit(); this.ResumeLayout(false); -- cgit v1.1