static void Main(string[] args) { PartyPanel panel = new PartyPanel(); new Thread(() => new Server(panel).Start()).Start(); Application.Run(panel); }
public Server(PartyPanel panel) { this.panel = panel; }