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 (OnlinePlayerList);
|
||||||
this.Controls.Add (MapPanel);
|
this.Controls.Add (MapPanel);
|
||||||
this.Controls.Add (ChatPanel);
|
this.Controls.Add (ChatPanel);
|
||||||
|
this.CenterToScreen ();
|
||||||
|
|
||||||
this.ResumeLayout();
|
this.ResumeLayout();
|
||||||
loaded = true;
|
loaded = true;
|
||||||
|
|||||||
@@ -25,6 +25,8 @@ namespace WorldOfPeacecraft
|
|||||||
Thread t = new Thread (ThreadEntry);
|
Thread t = new Thread (ThreadEntry);
|
||||||
t.Start ();
|
t.Start ();
|
||||||
this.SetClientSizeCore (450, 150);
|
this.SetClientSizeCore (450, 150);
|
||||||
|
this.FormBorderStyle = FormBorderStyle.None;
|
||||||
|
this.CenterToScreen ();
|
||||||
Logo = Image.FromFile (ImagesFolder + "splashscreen.png");
|
Logo = Image.FromFile (ImagesFolder + "splashscreen.png");
|
||||||
//m.Playmusic ("splashscreen");
|
//m.Playmusic ("splashscreen");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user