public ServerForm() { InitializeComponent(); NetworkingServer.Initialize(); networkUpdateTimer.Interval = 20; networkUpdateTimer.Start(); networkUpdateTimer.Tick += networkUpdateTimer_Tick; DatabaseOpen(); rand = new Random(); }
private void networkUpdateTimer_Tick(object sender, EventArgs e) { NetworkingServer.Update(); }