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