diff options
author | fcolin | 2007-02-01 09:43:57 +0000 |
---|---|---|
committer | fcolin | 2007-02-01 09:43:57 +0000 |
commit | 2dbb075d3df311c6cabfb2bf37e0ae4f186810db (patch) | |
tree | 2c31ee3560c2b0b14e2d813fe331ee6c8a600b90 /CSharp | |
parent | faacedaf049372366a33def80ab63fcd01c5a5a9 (diff) | |
download | ivy-csharp-2dbb075d3df311c6cabfb2bf37e0ae4f186810db.zip ivy-csharp-2dbb075d3df311c6cabfb2bf37e0ae4f186810db.tar.gz ivy-csharp-2dbb075d3df311c6cabfb2bf37e0ae4f186810db.tar.bz2 ivy-csharp-2dbb075d3df311c6cabfb2bf37e0ae4f186810db.tar.xz |
Utilisateur : Fcolin Date : 13/02/06 Heure : 17:02 Archivé dans $/CSharp/Ivy/Ivy Commentaire: (vss 60)
Diffstat (limited to 'CSharp')
-rw-r--r-- | CSharp/Ivy/Ivy/Ivy.cs | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/CSharp/Ivy/Ivy/Ivy.cs b/CSharp/Ivy/Ivy/Ivy.cs index 5d2a8b0..b0a71c8 100644 --- a/CSharp/Ivy/Ivy/Ivy.cs +++ b/CSharp/Ivy/Ivy/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 |