public static SMTCostDeptMonth GetInstance() { if (smtdmform == null || smtdmform.IsDisposed) { smtdmform = new SMTCostDeptMonth(); } return(smtdmform); }
private void barButtonItem部门盈亏月_ItemClick(object sender, ItemClickEventArgs e) { SMTCostDeptMonth Frm = SMTCostDeptMonth.GetInstance(); Frm.TopLevel = false; Frm.Parent = this; Frm.Show(); Frm.BringToFront(); }