private void 提成管理ToolStripMenuItem_Click(object sender, EventArgs e) { tcglForm tcgl = tcglForm.Create(); tcgl.Show(); tcgl.Focus(); }
public static tcglForm Create() { if (tcgl == null) { tcgl = new tcglForm(); } return(tcgl); }
private void tcglForm_FormClosed(object sender, FormClosedEventArgs e) { tcgl = null; }