Example #1
0
        public static void SwitchWindow(IMyWindow _windowToClose, IMyWindow _windowToOpen)
        {
            _windowToOpen.Show();

            _windowToClose.Close();
        }
Example #2
0
 public static void CloseWindow(IMyWindow _window)
 {
     _window.Close();
 }