Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Do anyone have any comments about this issue.
这是显示在 MDI 客户端内的 MDI 子表单。当我将表单部分重叠到另一个表单上时,它不会完全重新绘制。这是画的问题吗,有人知道吗?
提前感谢苏尼尔
试试这个 :
Form2 f2; private void button1_Click(object sender, EventArgs e) { if (f2 == null) { f2 = new Form2(); f2.MdiParent = this; f2.FormClosed += delegate { f2 = null; }; f2.Show(); } else { f2.Activate(); } }