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