private void 帮助ToolStripMenuItem_Click(object sender, EventArgs e) { ShowAndHide(_formhelp); _formhelp.MdiParent = this; _formhelp.FormBorderStyle = FormBorderStyle.None; _formhelp.TopLevel = false; _formhelp.ControlBox = false; _formhelp.Dock = DockStyle.Fill; _formhelp.MdiParent = this; _formhelp.StartPosition = FormStartPosition.CenterScreen; _formhelp.Show(); }
private void 帮助ToolStripMenuItem_Click(object sender, EventArgs e) { 帮助 form = new 帮助(); form.MdiParent = this; form.FormBorderStyle = FormBorderStyle.None; form.TopLevel = false; form.ControlBox = false; form.Dock = DockStyle.Fill; form.MdiParent = this; form.StartPosition = FormStartPosition.CenterScreen; form.Show(); }