Пример #1
0
 private void Button_Click_1(object sender, RoutedEventArgs e)
 {
     btConectar.Content = "Desconectar";
     sis.Conectar(cbPorts.Text);
     sis.iniciarSoftware();
     MainWindow1.Close();
 }
Пример #2
0
 //end game button clicked button
 private void Button_Click(object sender, RoutedEventArgs e)
 {
     if (gameStarted == false)
     {
         Save();
         MainWindow1.Close();
     }
 }
Пример #3
0
 private void Button_Click_1(object sender, RoutedEventArgs e)
 {
     if ((string)Connect_btn.Content == "Disconect")
     {
         try
         {
             cl.ClientDis();
         }
         catch { }
     }
     MainWindow1.Close();
 }
Пример #4
0
 private void Exit_Click(object sender, RoutedEventArgs e)
 {
     MainWindow1.Close();
 }