/// <summary> /// Menu item activity click event handler. /// </summary> /// <param name="sender">The sender object.</param> /// <param name="e">The event arguments.</param> private void activityToolStripMenuItem_Click(object sender, EventArgs e) { ActiveQLibrary.Form.MainForm main = ActiveQLibrary.Form.ManageForm.Form; if (main != null) { main.Show(); } else { ActiveQLibrary.Form.ManageForm.Initialize(); } }
public static void test() { ActiveQLibrary.Form.MainForm main = new ActiveQLibrary.Form.MainForm(); Application.Run(main); }