Beispiel #1
0
 private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e)
 {
     AmeisenBot?.Stop();
     Overlay?.Exit();
     InfoWindow?.Close();
     MapWindow?.Close();
     SaveConfig();
 }
Beispiel #2
0
        private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e)
        {
            AmeisenBot?.Stop();
            Overlay?.Exit();
            InfoWindow?.Close();
            MapWindow?.Close();
            DevToolsWindow?.Close();

            if (StateConfigWindows != null)
            {
                foreach (Window window in StateConfigWindows.Values)
                {
                    window.Close();
                }
            }

            SaveConfig();
        }
Beispiel #3
0
 private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e)
 {
     AmeisenBot?.Stop();
     SaveConfig();
 }