public static SpecialDealInsert GetInstance() { if (spiform == null || spiform.IsDisposed) { spiform = new SpecialDealInsert(); } return(spiform); }
private void barButtonItem新增_ItemClick(object sender, ItemClickEventArgs e) { SpecialDealInsert Frm = SpecialDealInsert.GetInstance(); Frm.TopLevel = false; Frm.Parent = this; Frm.Show(); Frm.BringToFront(); }