public static void SwitchWindow(IMyWindow _windowToClose, IMyWindow _windowToOpen) { _windowToOpen.Show(); _windowToClose.Close(); }
public static void CloseWindow(IMyWindow _window) { _window.Close(); }