summaryrefslogtreecommitdiff
path: root/CSharp/Ivy/IvyPPC
diff options
context:
space:
mode:
authorfcolin2007-02-01 09:55:56 +0000
committerfcolin2007-02-01 09:55:56 +0000
commit0c3a24d1d734112780a3d8e3f8b8c8af4728be20 (patch)
treee4b4c295ec79163b62e9b322455b00872f68616e /CSharp/Ivy/IvyPPC
parent2f34e3990b770a52cb6daa3e234d9334c89d82a3 (diff)
downloadivy-csharp-0c3a24d1d734112780a3d8e3f8b8c8af4728be20.zip
ivy-csharp-0c3a24d1d734112780a3d8e3f8b8c8af4728be20.tar.gz
ivy-csharp-0c3a24d1d734112780a3d8e3f8b8c8af4728be20.tar.bz2
ivy-csharp-0c3a24d1d734112780a3d8e3f8b8c8af4728be20.tar.xz
Utilisateur : Fcolin Date : 13/02/06 Heure : 17:02 Archivé dans $/CSharp/Ivy/Ivy Commentaire: (vss 60)
Diffstat (limited to 'CSharp/Ivy/IvyPPC')
-rw-r--r--CSharp/Ivy/IvyPPC/Ivy.cs19
1 files changed, 16 insertions, 3 deletions
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