如何让编写的程序界面自动适应各种大小的彩显如15#,17#和不同分辩率如800*600,1024*768?
解决方案 »
- 关于序列化的简单问题!!!!马上结贴!!
- 【C#编码猜谜,送可用分】
- 命名空间“System.Runtime”中不存在类型或命名空间名称“Persistence
- 请教c#串口问题
- 让flowLayoutPanel分页显示的问题
- FreeTextBox页面回发后按钮失效
- 水晶报表10的刷新问题,,。。。。预览时错误,打印时是好的
- 我是一个新手?学习C#刚刚开始?希望有经验的给指教几本经典的书籍?最好是电子档的,我可以上网,可以下载的 谢谢了?
- 求个小算法(C#)
- 在net framework 3.5下使用 System.Collections.Concurrent
- 请问各位朋友经常看国外的那些论坛或资料网站,重分收集
- 50分请教VS.NET串口通讯项目问题???
gBox1.Left=20;
gBox1.Width=frmMain.Width-40;
if(frmMain.Width>850)
gBox1.Height=frmMain.Height-130;
else
gBox1.Height=frmMain.Height-180;
System.Windows.Forms.Screen.PrimaryScreen.Bounds.Height
System.Windows.Forms.Screen.PrimaryScreen.Bounds.Width
Size SZ=new Size (System.Windows.Forms.Screen.PrimaryScreen.Bounds.Height,System.Windows.Forms.Screen.PrimaryScreen.Bounds.WidthCAT.SHeight);
this.Size =SZ;