C#应用程序,窗体如何自动适应不同的分辨率? 只要考虑800*600和1024*768就可以了,请高手帮忙! 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 int width_screen,height_screen; string Resolution; width_screen=System.Windows.Forms.Screen.PrimaryScreen.Bounds.Width; height_screen=System.Windows.Forms.Screen.PrimaryScreen.Bounds.Height; Resolution=width_screen.ToString()+"*"+height_screen.ToString(); switch(Resolution) Wrox Beginning Visual C# 2010 winform 导出excel 一个问题 数据适配器 求教!!! 关于一个组织结构图的问题,请位高手帮助解决!!!谢谢 关于CheckBox的选中问题 标准三层架构是什么意思? 有关句柄的问题 多线程创建对象不定时出现空指针. 【EF】如何动态修改EF的连接字符串connection 哪位大侠介绍一下c#中override 和new在做为修饰符是,它们之间功能上的差别 我有一段xml代码,怎样遍历显示在listview上? 问一个关于dataset所连接的数据库表的问题,怎么使用数据库表的一个属性ROWS.Count
string Resolution;
width_screen=System.Windows.Forms.Screen.PrimaryScreen.Bounds.Width;
height_screen=System.Windows.Forms.Screen.PrimaryScreen.Bounds.Height;
Resolution=width_screen.ToString()+"*"+height_screen.ToString();
switch(Resolution)