winform里,子窗体如何让父窗体显示在最顶层

2024-12-13 09:23:39
推荐回答(1个)
回答1:

private void 图书信息维护ToolStripMenuItem_Click(object sender, EventArgs e) { FrmBookInfo1122 nf = new FrmBookInfo1122(); nf.MdiParent = this; nf.WindowState = FormWindowState.Maximized;//就是这个嘛? nf.Show(); }