/// <summary> /// Creates a new controller window, or active the existing one. /// </summary> public static void create() { if (theInstance == null) { theInstance = new SignalRailController(); } theInstance.Show(); theInstance.Activate(); }
protected override void OnClosing(System.ComponentModel.CancelEventArgs e) { base.OnClosing(e); theInstance = null; }
private void onClick(object sender, EventArgs args) { SignalRailController.create(); }