private void tsmiGoodsType1_Click(object sender, EventArgs e) { GoodsTpye1Info goods1 = GoodsTpye1Info.CreateForm(); goods1.MdiParent = this; goods1.Show(); }
public static GoodsTpye1Info CreateForm() { if (_single == null) { _single = new GoodsTpye1Info(); } else { _single.Activate(); } return(_single); }
private void this_FormClosed(object sender, FormClosedEventArgs e) { _single = null; }