public static void ShowForm(NotificationManager manager) { BlinkStickTestForm form = new BlinkStickTestForm (); form.Manager = manager; form.PopulateForm(); form.Run (); form.Destroy(); }
protected void OnTestActionActivated (object sender, EventArgs e) { testForm = new BlinkStickTestForm (); testForm.Manager = this.Manager; testForm.PopulateForm(); testForm.Run (); testForm.Destroy(); testForm = null; //BlinkStickTestForm.ShowForm(Manager); }