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