summaryrefslogtreecommitdiff
path: root/CSharp
diff options
context:
space:
mode:
authorfcolin2007-02-01 09:48:23 +0000
committerfcolin2007-02-01 09:48:23 +0000
commit2ad23f97df3e3237f326a9f3835aa2e295f20227 (patch)
tree41fa4039d96a76e547dd37a3b9266f6194bb6fe9 /CSharp
parent649e85ff84c0f2eea02cfd8fb665bde4bceb0775 (diff)
downloadivy-csharp-2ad23f97df3e3237f326a9f3835aa2e295f20227.zip
ivy-csharp-2ad23f97df3e3237f326a9f3835aa2e295f20227.tar.gz
ivy-csharp-2ad23f97df3e3237f326a9f3835aa2e295f20227.tar.bz2
ivy-csharp-2ad23f97df3e3237f326a9f3835aa2e295f20227.tar.xz
Utilisateur : Fcolin Date : 17/01/06 Heure : 13:07 Archivé dans $/CSharp/Ivy/Ivy Commentaire: (vss 3)
Diffstat (limited to 'CSharp')
-rw-r--r--CSharp/Ivy/Ivy/IvyDomain.cs29
1 files changed, 20 insertions, 9 deletions
diff --git a/CSharp/Ivy/Ivy/IvyDomain.cs b/CSharp/Ivy/Ivy/IvyDomain.cs
index 60b6515..4fe60bf 100644
--- a/CSharp/Ivy/Ivy/IvyDomain.cs
+++ b/CSharp/Ivy/Ivy/IvyDomain.cs
@@ -11,26 +11,28 @@ namespace IvyBus
public partial class IvyDomain : UserControl
{
public Ivy ivy;
+ private string appname;
+ private string ready;
[Category("Ivy")]
public string AppName
{
- get { return appname.Text; }
- set { appname.Text = value; }
+ get { return appname; }
+ set { appname = value; }
}
[Category("Ivy")]
- public string Ready
+ public string AppReadyMessage
{
- get { return ready.Text; }
- set { ready.Text = value; }
+ get { return ready; }
+ set { ready = value; }
}
[Category("Ivy")]
public string Domain
{
- get { return domain.Text; }
- set { domain.Text = value; }
+ get { return ivybus.Text; }
+ set { ivybus.Text = value; }
}
[Category("Ivy")]
public event Ivy.ClientConnectedHandler clientConnected
@@ -104,12 +106,15 @@ namespace IvyBus
ivy.directMessageReceived -= value;
}
}
+
+
public IvyDomain()
{
InitializeComponent();
- ivy = new Ivy(this);
+ ivy = new Ivy(appname,ready,this);
}
+
private void textBox1_Validating(object sender, CancelEventArgs e)
{
e.Cancel = false;
@@ -118,7 +123,13 @@ namespace IvyBus
private void textBox1_Validated(object sender, EventArgs e)
{
ivy.stop();
- ivy.start(domain.Text);
+ ivy.start(ivybus.Text);
}
+
+ private void toolStripContainer1_TopToolStripPanel_Click(object sender, EventArgs e)
+ {
+
+ }
+
}
}