private void button4_Click(object sender, EventArgs e) { this.Hide(); FCompleteBaoxiao dlg = new FCompleteBaoxiao(this); dlg.ShowDialog(); }
private void loadPanel() { try { Form[] frm = new Form[9]; frm[0] = new NewProjectFolder(); frm[0].Name = "newpj"; frm[1] = new BaoXiaoFrm(); frm[1].Name = "bxfrm"; frm[2] = new FCompleteBaoxiao(); frm[2].Name = "fbx"; frm[3] = new ScholzFrm(); frm[3].Name = "jobno"; frm[4] = new browserFrm(); frm[4].Name = "browserfrm"; frm[5] = new CmpPJFrm(); frm[5].Name = "CmpPJFrm"; frm[6] = new Frecord(); frm[6].Name = "Frecord"; frm[7] = new SystemManager(); frm[7].Name = "SystemManager"; frm[8] = new FAppForm(); frm[8].Name = "FAppForm"; for (int i = 0; i < 9; i++) { frm[i].TopLevel = false; frm[i].Dock = DockStyle.Fill; } FrmPanel.Controls.AddRange(frm); } catch (Exception ex) { LogHelper.log(ex.Message); } }