
怎么在C#的代码里将textbox设置字体大小?
1个回答
展开全部
1.设置字体大小,不能单独设置,需要重新 new
textbox.Font= new Font(textbox.Font.Name,12);//应该是这样,手写请见谅
2.设置宽高
A.textbox.Size= new Size(90,35);
B.textbox.Width=90;
textbox.Height=35;
textbox.Font= new Font(textbox.Font.Name,12);//应该是这样,手写请见谅
2.设置宽高
A.textbox.Size= new Size(90,35);
B.textbox.Width=90;
textbox.Height=35;
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询