HearthBuddy BotManager
MainWindow private void button_0_Click( object sender, RoutedEventArgs e) { Configuration.Instance.SaveAll(); this .button_0.IsEnabled = false ; this .comboBox_1.IsEnabled = false ; this .comboBox_0.IsEnabled = false ; this .checkBox_0.IsEnabled = false ; this .listBox_0.IsEnabled = false ; try { this .bool_0 = false ; if (BotManager.IsRunning) { BotManager.Stop(); } else { BotManager.Start(); } } finally { this .bool_0 = true ; } this .stopwatch_0.Restart(); } BotManager public static bool Start() { object obj = BotManager.object_0; bool result; lock (obj) { if (BotManager.IsRunning) {