summaryrefslogtreecommitdiff
path: root/CSharp
diff options
context:
space:
mode:
Diffstat (limited to 'CSharp')
-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