/// <summary> /// 清单管理 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void tsmiSystemMenu_Click(object sender, EventArgs e) { SystemMenu smu = SystemMenu.CreateForm(); smu.MdiParent = this; smu.Show(); }
public static SystemMenu CreateForm() { if (_single == null) { _single = new SystemMenu(); } else { _single.Activate(); } return(_single); }
private void SystemMenu_FormClosed(object sender, FormClosedEventArgs e) { _single = null; }