private void BtnStart_Click(object sender, RoutedEventArgs e) { _startTime = DateTime.Now; Chat.IsEnabled = true; PlayerList.IsEnabled = true; ((Button)sender).IsEnabled = false; BtnStop.IsEnabled = true; _uiUpdate.Start(); ConfigControl.SaveConfig(); new Thread(_server.Start).Start(); }
private void BtnStart_Click(object sender, RoutedEventArgs e) { _config.Save(); ConfigControl.SaveConfig(); new Thread(_server.Start).Start(); }