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();
     }
 }
Beispiel #4
0
		protected override void OnClosed(EventArgs e)
		{
			Instance = null;
			base.OnClosed(e);
		}
Beispiel #5
0
 protected override void OnClosed(EventArgs e)
 {
     Instance = null;
     SD.ParserService.LoadSolutionProjectsThread.Finished -= ParserService_LoadSolutionProjectsThreadEnded;
     base.OnClosed(e);
 }
Beispiel #6
0
 protected override void OnClosed(EventArgs e)
 {
     Instance = null;
     base.OnClosed(e);
 }