diff options
Diffstat (limited to 'CSharp/Ivy')
-rw-r--r-- | CSharp/Ivy/IvyPPC/IvyClient.cs | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/CSharp/Ivy/IvyPPC/IvyClient.cs b/CSharp/Ivy/IvyPPC/IvyClient.cs index 21f14f4..9a67b3d 100644 --- a/CSharp/Ivy/IvyPPC/IvyClient.cs +++ b/CSharp/Ivy/IvyPPC/IvyClient.cs @@ -40,12 +40,12 @@ namespace IvyBus }
}
-
- public StringCollection Regexps
+
+ public List<string> Regexps
{
get
{
- StringCollection tab = new StringCollection();
+ List<string> tab = new List<string>();
lock (bindings)
{
foreach (IvyBindingBase bind in bindings.Values)
@@ -400,7 +400,11 @@ namespace IvyBus bus.Stop();
close(false);
if (ev.ForceExit)
+#if (PocketPC)
+ System.Windows.Forms.Application.Exit();
+#else
System.Environment.Exit(0);
+#endif
}
void IvyProtocol.TokenBye(ushort err, string arg)
{
|