Komplettumbau und Splashscreen sollte jetzt funktionieren (Muss noch getestet werden)
This commit is contained in:
@@ -12,9 +12,6 @@ namespace WorldOfPeacecraft
|
||||
public OnlinePlayerList(IBackend backend)
|
||||
{
|
||||
this.Backend = backend;
|
||||
SetStyle (ControlStyles.OptimizedDoubleBuffer | ControlStyles.UserPaint | ControlStyles.AllPaintingInWmPaint, true);
|
||||
Font = new Font(Font, FontStyle.Bold);
|
||||
PlayerOnlineImage = Image.FromFile("textures/playerOnline.png");
|
||||
}
|
||||
|
||||
protected override void OnPaint (PaintEventArgs e)
|
||||
@@ -32,5 +29,14 @@ namespace WorldOfPeacecraft
|
||||
count++;
|
||||
}
|
||||
}
|
||||
|
||||
public void LoadResources(){
|
||||
Font = new Font(Font, FontStyle.Bold);
|
||||
PlayerOnlineImage = Image.FromFile("textures/playerOnline.png");
|
||||
}
|
||||
|
||||
public void InitializeComponents(){
|
||||
SetStyle (ControlStyles.OptimizedDoubleBuffer | ControlStyles.UserPaint | ControlStyles.AllPaintingInWmPaint, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user