/// <summary> /// Clean up work after clicking "Finish" on any of the panes /// </summary> public static void CleanUp () { // The next time the wizard is invoked, this pane will not have been visied isVisited = false; // Bring Holodeck's main window back to focus // TODO: figure out a better way to do this (we should not "hack" like this here...) HolodeckProcess.WaitForHolodeck (); SetForegroundWindow (holodeckMainWindowHandle); }
/// <summary> /// Set Holodeck's main window to its default state /// </summary> public static void Reset () { HolodeckProcess.WaitForHolodeck (); /* TODO: return to the default state */ }