private void Window_Loaded(object sender, RoutedEventArgs e) { game.GameStatusChanged += Game_GameStatusChanged; ThemeManager.ConfigChanged += ThemeManager_ConfigChanged; // set default theming ThemeManager.Config_SetAccent(ThemeManager.Accent.Orange); XZUI_Config.controlfx = "Reveal"; XZUI_Config.Save(); // check for the secondary screen if (System.Windows.Forms.Screen.AllScreens.Length < 2) { GameWindow_SecondaryScreenPositioning(null, false); } else { GameWindow_SecondaryScreenPositioning(null, true); } }