diff options
author | fcolin | 2007-02-01 10:05:55 +0000 |
---|---|---|
committer | fcolin | 2007-02-01 10:05:55 +0000 |
commit | 98b11a5199c89c93c42f28f17ead064cce9e059b (patch) | |
tree | 4b29be61ce502dd38e9bc623f261439cb1250b8b /CSharp/Ivy | |
parent | cd987bc770b1986f5de8f5444bd3e19f7f23b0ce (diff) | |
download | ivy-csharp-98b11a5199c89c93c42f28f17ead064cce9e059b.zip ivy-csharp-98b11a5199c89c93c42f28f17ead064cce9e059b.tar.gz ivy-csharp-98b11a5199c89c93c42f28f17ead064cce9e059b.tar.bz2 ivy-csharp-98b11a5199c89c93c42f28f17ead064cce9e059b.tar.xz |
Utilisateur : Fcolin Date : 5/12/03 Heure : 9:52 Archivé dans $/EScribe/Ivy/IvyTest Commentaire: (vss 3)
Diffstat (limited to 'CSharp/Ivy')
-rw-r--r-- | CSharp/Ivy/IvyProbe/IvyProbe.cs | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/CSharp/Ivy/IvyProbe/IvyProbe.cs b/CSharp/Ivy/IvyProbe/IvyProbe.cs index 00575b7..5e72f68 100644 --- a/CSharp/Ivy/IvyProbe/IvyProbe.cs +++ b/CSharp/Ivy/IvyProbe/IvyProbe.cs @@ -30,7 +30,7 @@ namespace IvyTest InitializeComponent();
regexp = "";
- bus = new Ivy("C# TESTBUS", "Testbus ridi");
+ bus = new Ivy("C# TESTBUS", "Testbus ridi",this);
bus.Debug = true;
bus.clientConnected += new Ivy.ClientConnectedHandler( connect );
bus.clientDisconnected += new Ivy.ClientDisconnectedHandler( disconnect );
@@ -97,7 +97,8 @@ namespace IvyTest this.tbRegexp.Name = "tbRegexp";
this.tbRegexp.Size = new System.Drawing.Size(224, 20);
this.tbRegexp.TabIndex = 2;
- this.tbRegexp.Text = "regexp";
+ this.tbRegexp.Text = "(.*)";
+ this.tbRegexp.TextChanged += new System.EventHandler(this.tbRegexp_TextChanged);
//
// tbMsg
//
@@ -234,6 +235,11 @@ namespace IvyTest {
btSend.Enabled = (tbMsg.Text != "");
}
+
+ private void tbRegexp_TextChanged(object sender, System.EventArgs e)
+ {
+ btBind.Enabled = (tbRegexp.Text != "");
+ }
}
|