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