private void Form1_Load(object sender, EventArgs e) { fxmls = new xmlsForm(); fxmls.MdiParent = this; fxmls.Show(); sub.IsReg = sub.IsRegsoft(); }
private void 项目列表ToolStripMenuItem_Click(object sender, EventArgs e) { if (fxmls != null && !fxmls.IsDisposed) { fxmls.WindowState = FormWindowState.Normal; fxmls.Focus(); } else { fxmls = new xmlsForm(); fxmls.MdiParent = this; fxmls.Show(); } }