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