private void spots_btn_Click(object sender, RoutedEventArgs e) { if (!SpotsWindow.spots_window_visible) { // Create a spots window SpotsWindow spots_window = new SpotsWindow(); // Open it and make it visible SpotsWindow.spots_window_visible = true; spots_window.Show(); } }
public MainWindow() { InitializeComponent(); // Start character stats //character_stats.Start(); // Add client versions client_version_tbx.Items.Add("x64"); //client_version_tbx.Items.Add("x86"); // Timer setup timer_set(); // UI // Enable read only for log tbx log_tbx.IsReadOnly = true; // Load spots from settings SpotsWindow.load_spots_settings(); }