From 0c3a24d1d734112780a3d8e3f8b8c8af4728be20 Mon Sep 17 00:00:00 2001 From: fcolin Date: Thu, 1 Feb 2007 09:55:56 +0000 Subject: Utilisateur : Fcolin Date : 13/02/06 Heure : 17:02 Archivé dans $/CSharp/Ivy/Ivy Commentaire: (vss 60) --- CSharp/Ivy/IvyPPC/Ivy.cs | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) (limited to 'CSharp/Ivy/IvyPPC/Ivy.cs') diff --git a/CSharp/Ivy/IvyPPC/Ivy.cs b/CSharp/Ivy/IvyPPC/Ivy.cs index 5d2a8b0..b0a71c8 100644 --- a/CSharp/Ivy/IvyPPC/Ivy.cs +++ b/CSharp/Ivy/IvyPPC/Ivy.cs @@ -33,7 +33,7 @@ namespace IvyBus [DesignerCategory("Component")] [Description("IVY Main API")] #endif - public class Ivy : System.ComponentModel.Component + public class Ivy : System.ComponentModel.Component, ISupportInitialize { /* return value for Die Event */ public enum ApplicationExit { FORCE_EXIT, DONT_EXIT }; @@ -263,8 +263,6 @@ namespace IvyBus set { syncControl = value; - if (syncControl != null) - AutoBinding(syncControl); } } internal class MyTcpListener : TcpListener @@ -1083,5 +1081,20 @@ namespace IvyBus // domain if of the form ip1[:port][,ip2[:port]] with ip of the form n1.n2.n3.n4 return Regex.IsMatch(p, @"\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}:\d+"); } + + #region ISupportInitialize Members + + public void BeginInit() + { + + } + + public void EndInit() + { + if (syncControl != null) + AutoBinding(syncControl); + } + + #endregion } } \ No newline at end of file -- cgit v1.1