[quote=引用 1 楼 ManBOyyy 的回复:] float size =10; Form3 f3 = new Form3(); f3.TopLevel = false; f3.Font = new System.Drawing.Font(f3.Font.FontFamily, size + 10); panel1.Controls.Add(f3); f3.Location = new System.Drawing.Point(0, 0); f3.Show();
float size =10; Form3 f3 = new Form3(); f3.TopLevel = false; f3.Font = new System.Drawing.Font(f3.Font.FontFamily, size + 10); panel1.Controls.Add(f3); f3.Location = new System.Drawing.Point(0, 0); f3.Show();
假设真如你说是form1影响的那就算是找到原因了,那么,当显示form2时设置form1字体为12关闭form2设回来试看
你這裡沒有改變字體的啊
你代碼呢?我瞧瞧
110,534
社区成员
642,576
社区内容
加载中
让您成为最强悍的C#开发者
试试用AI创作助手写篇文章吧