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