コード例 #1
0
ファイル: GotoDialog.cs プロジェクト: xuchuansheng/GenXSource
		public static void ShowSingleInstance()
		{
			if (Instance == null) {
				Instance = new GotoDialog();
				Instance.Show(WorkbenchSingleton.MainForm);
			} else {
				Instance.Focus();
			}
		}
コード例 #2
0
		public static void ShowSingleInstance()
		{
			if (Instance == null) {
				Instance = new GotoDialog();
				Instance.Owner = WorkbenchSingleton.MainWindow;
				Instance.Show();
			} else {
				Instance.Activate();
			}
		}
コード例 #3
0
 public static void ShowSingleInstance()
 {
     if (Instance == null)
     {
         Instance = new GotoDialog();
         Instance.Show(WorkbenchSingleton.MainForm);
     }
     else
     {
         Instance.Focus();
     }
 }