/// <summary> /// 加载业务及报表管理窗体 /// </summary> /// <param name="selectedIndex"></param> private void CreateReportChildForm(int selectedIndex, SignSocketClient sc) { if (this.MdiChildren != null) { foreach (Form form in this.MdiChildren) { if (form.Name == "ReportManage") { form.Close(); } } } ReportManage report = new ReportManage(selectedIndex, sc); report.MdiParent = this; report.Dock = DockStyle.Fill; report.Show(); }
/// <summary> /// 加载业务及报表管理窗体 /// </summary> /// <param name="selectedIndex"></param> private void CreateReportChildForm(int selectedIndex,SignSocketClient sc) { if (this.MdiChildren != null) { foreach (Form form in this.MdiChildren) { if (form.Name == "ReportManage") { form.Close(); } } } ReportManage report = new ReportManage(selectedIndex, sc); report.MdiParent = this; report.Dock = DockStyle.Fill; report.Show(); }