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