Beispiel #1
0
		public static void ShowSingleInstance()
		{
			if (Instance == null) {
				Instance = new GotoDialog();
				Instance.Show(WorkbenchSingleton.MainForm);
			} else {
				Instance.Focus();
			}
		}
		public static void ShowSingleInstance()
		{
			if (Instance == null) {
				Instance = new GotoDialog();
				Instance.Owner = WorkbenchSingleton.MainWindow;
				Instance.Show();
			} else {
				Instance.Activate();
			}
		}
Beispiel #3
0
 public static void ShowSingleInstance()
 {
     if (Instance == null)
     {
         Instance = new GotoDialog();
         Instance.Show(WorkbenchSingleton.MainForm);
     }
     else
     {
         Instance.Focus();
     }
 }