summaryrefslogtreecommitdiff
path: root/CSharp/Ivy/IvyPPC
diff options
context:
space:
mode:
authorfcolin2007-02-01 09:59:49 +0000
committerfcolin2007-02-01 09:59:49 +0000
commitd1b931625d08e8c1be350134683e759e89430d89 (patch)
tree3cbbbc62a78beb0c9c2cdffb548bfce83f27c27e /CSharp/Ivy/IvyPPC
parent7650cbaaf43384d5acc7facaf9d29de3f55b4989 (diff)
downloadivy-csharp-d1b931625d08e8c1be350134683e759e89430d89.zip
ivy-csharp-d1b931625d08e8c1be350134683e759e89430d89.tar.gz
ivy-csharp-d1b931625d08e8c1be350134683e759e89430d89.tar.bz2
ivy-csharp-d1b931625d08e8c1be350134683e759e89430d89.tar.xz
Utilisateur : Fcolin Date : 17/01/06 Heure : 13:07 Archivé dans $/CSharp/Ivy/Ivy Commentaire: (vss 3)
Diffstat (limited to 'CSharp/Ivy/IvyPPC')
-rw-r--r--CSharp/Ivy/IvyPPC/IvyDomain.cs29
1 files changed, 20 insertions, 9 deletions
diff --git a/CSharp/Ivy/IvyPPC/IvyDomain.cs b/CSharp/Ivy/IvyPPC/IvyDomain.cs
index 60b6515..4fe60bf 100644
--- a/CSharp/Ivy/IvyPPC/IvyDomain.cs
+++ b/CSharp/Ivy/IvyPPC/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)
+ {
+
+ }
+
}
}