Terminate application after window close

This commit is contained in:
2014-05-01 00:57:00 +02:00
parent 3be391802a
commit 3b6f407e1c
4 changed files with 16 additions and 1 deletions

View File

@@ -110,5 +110,12 @@ namespace WorldOfPeacecraft
{
Gui.PerformRefresh();
}
public void Stop() {
Parse.Stop ();
Send.Stop ();
Rec.Stop ();
System.Windows.Forms.Application.Exit ();
}
}
}