From 3f99bb96adf51595aa59f80c8e450a6855bde7ac Mon Sep 17 00:00:00 2001 From: fcolin Date: Thu, 1 Feb 2007 09:59:57 +0000 Subject: Utilisateur : Fcolin Date : 20/01/06 Heure : 18:28 Archivé dans $/CSharp/Ivy/Ivy Commentaire: (vss 7) --- CSharp/Ivy/IvyPPC/IvyDomain.cs | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) (limited to 'CSharp/Ivy/IvyPPC') diff --git a/CSharp/Ivy/IvyPPC/IvyDomain.cs b/CSharp/Ivy/IvyPPC/IvyDomain.cs index fe2d3b8..7318875 100644 --- a/CSharp/Ivy/IvyPPC/IvyDomain.cs +++ b/CSharp/Ivy/IvyPPC/IvyDomain.cs @@ -17,15 +17,15 @@ namespace IvyBus [Category("Ivy")] public string AppName { - get { return appname; } - set { appname = value; } + get { return ivy.AppName; } + set { ivy.AppName = value; } } [Category("Ivy")] public string AppReadyMessage { - get { return ready; } - set { ready = value; } + get { return ivy.ready_message; } + set { ivy.ready_message = value; } } [Category("Ivy")] @@ -35,55 +35,55 @@ namespace IvyBus set { ivybus.Text = value; } } [Category("Ivy")] - public event Ivy.ClientConnectedHandler clientConnected + public event Ivy.ClientConnectedHandler ClientConnected { add { - ivy.clientConnected += value; + ivy.ClientConnected += value; } remove { - ivy.clientConnected -= value; + ivy.ClientConnected -= value; } } [Category("Ivy")] - public event Ivy.ClientDisconnectedHandler clientDisconnected + public event Ivy.ClientDisconnectedHandler ClientDisconnected { add { - ivy.clientDisconnected += value; + ivy.ClientDisconnected += value; } remove { - ivy.clientDisconnected -= value; + ivy.ClientDisconnected -= value; } } [Category("Ivy")] - public event Ivy.ClientAddBindingHandler addBinding + public event Ivy.ClientAddBindingHandler BindingAdd { add { - ivy.addBinding += value; + ivy.BindingAdd += value; } remove { - ivy.addBinding -= value; + ivy.BindingAdd -= value; } } [Category("Ivy")] - public event Ivy.ClientRemoveBindingHandler removeBinding + public event Ivy.ClientRemoveBindingHandler BindingRemove { add { - ivy.removeBinding += value; + ivy.BindingRemove += value; } remove { - ivy.removeBinding -= value; + ivy.BindingRemove -= value; } } [Category("Ivy")] - public event Ivy.DieHandler dieReceived + public event Ivy.DieHandler DieReceived { add { @@ -95,15 +95,15 @@ namespace IvyBus } } [Category("Ivy")] - public event Ivy.DirectMessageHandler directMessageReceived + public event Ivy.DirectMessageHandler DirectMessageReceived { add { - ivy.directMessageReceived += value; + ivy.DirectMessageReceived += value; } remove { - ivy.directMessageReceived -= value; + ivy.DirectMessageReceived -= value; } } @@ -111,6 +111,7 @@ namespace IvyBus public IvyDomain() { InitializeComponent(); + ivy = new Ivy(this); } @@ -128,7 +129,6 @@ namespace IvyBus private void IvyDomain_Load(object sender, EventArgs e) { ivybus.Text = Ivy.getDomain(ivybus.Text); - ivy = new Ivy(appname, ready, this); ivy.start(ivybus.Text); } -- cgit v1.1