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();
			}
		}
Exemple #3
0
 public static void ShowSingleInstance()
 {
     if (Instance == null)
     {
         Instance = new GotoDialog();
         Instance.Show(WorkbenchSingleton.MainForm);
     }
     else
     {
         Instance.Focus();
     }
 }
		protected override void OnClosed(EventArgs e)
		{
			Instance = null;
			base.OnClosed(e);
		}
Exemple #5
0
 protected override void OnClosed(EventArgs e)
 {
     Instance = null;
     SD.ParserService.LoadSolutionProjectsThread.Finished -= ParserService_LoadSolutionProjectsThreadEnded;
     base.OnClosed(e);
 }
Exemple #6
0
 protected override void OnClosed(EventArgs e)
 {
     Instance = null;
     base.OnClosed(e);
 }