コード例 #1
0
ファイル: Holodeck1.cs プロジェクト: vpalodic/Holodeck
		/// <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);
		}
コード例 #2
0
ファイル: Holodeck.cs プロジェクト: vpalodic/Holodeck
		/// <summary>
		/// Set Holodeck's main window to its default state
		/// </summary>
		public static void Reset ()
		{
			HolodeckProcess.WaitForHolodeck ();

			/* TODO: return to the default state */
		}