Die scheiße Terminiert \o/
This commit is contained in:
@@ -11,6 +11,7 @@ namespace WorldOfPeacecraft
|
||||
private const int ChatWidth = 300;
|
||||
private const int OnlinePlayerWidth = 150;
|
||||
private IBackend Backend;
|
||||
public Form MainForm { get; set; }
|
||||
|
||||
private MapPanel MapPanel;
|
||||
private ChatPanel ChatPanel;
|
||||
@@ -78,6 +79,7 @@ namespace WorldOfPeacecraft
|
||||
protected override void OnClosing (System.ComponentModel.CancelEventArgs e)
|
||||
{
|
||||
base.OnClosing (e);
|
||||
MainForm.Close();
|
||||
Backend.Stop ();
|
||||
}
|
||||
|
||||
|
||||
@@ -20,6 +20,7 @@ namespace WorldOfPeacecraft
|
||||
public SplashScreen (Gui gui, IBackend backend)
|
||||
{
|
||||
this.gui = gui;
|
||||
gui.MainForm = this;
|
||||
this.backend = backend;
|
||||
Thread t = new Thread (ThreadEntry);
|
||||
t.Start ();
|
||||
|
||||
Reference in New Issue
Block a user