Splashscreen hat jetzt keinen Rahmen mehr, Fenster werden beim start

zentriert
This commit is contained in:
2014-05-14 22:48:58 +02:00
parent 79bfe10dd5
commit 6fc2caa10b
2 changed files with 3 additions and 0 deletions

View File

@@ -72,6 +72,7 @@ namespace WorldOfPeacecraft
this.Controls.Add (OnlinePlayerList);
this.Controls.Add (MapPanel);
this.Controls.Add (ChatPanel);
this.CenterToScreen ();
this.ResumeLayout();
loaded = true;

View File

@@ -25,6 +25,8 @@ namespace WorldOfPeacecraft
Thread t = new Thread (ThreadEntry);
t.Start ();
this.SetClientSizeCore (450, 150);
this.FormBorderStyle = FormBorderStyle.None;
this.CenterToScreen ();
Logo = Image.FromFile (ImagesFolder + "splashscreen.png");
//m.Playmusic ("splashscreen");
}