Splashscreen hat jetzt keinen Rahmen mehr, Fenster werden beim start
zentriert
This commit is contained in:
@@ -72,6 +72,7 @@ namespace WorldOfPeacecraft
|
||||
this.Controls.Add (OnlinePlayerList);
|
||||
this.Controls.Add (MapPanel);
|
||||
this.Controls.Add (ChatPanel);
|
||||
this.CenterToScreen ();
|
||||
|
||||
this.ResumeLayout();
|
||||
loaded = true;
|
||||
|
||||
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user