Exemple #1
0
 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();
 }
Exemple #2
0
 private void BtnStart_Click(object sender, RoutedEventArgs e)
 {
     _config.Save();
     ConfigControl.SaveConfig();
     new Thread(_server.Start).Start();
 }