Пример #1
0
 //log out is clicked
 private void logOut1_Click(object sender, RoutedEventArgs e)
 {
     label1.Content = "Logged off...";
     SteamBotController.logBotOff();
     logIn1.IsEnabled  = true;
     logOut1.IsEnabled = false;
 }
Пример #2
0
 //when bot window is closing
 private void MetroWindow_Closing(object sender, System.ComponentModel.CancelEventArgs e)
 {
     SteamBotController.logBotOff();
     MainWindow.currentHandle.Show();
 }
Пример #3
0
 //end bot is clicked
 private void endBot1_Click(object sender, RoutedEventArgs e)
 {
     SteamBotController.logBotOff();
     Close();
 }