手动刷新一下,行不行啊?? this.refresh();
解决方案 »
- 如何实时监听一个文件的读写?
- 关于打包加壳的问题。
- 关于数据筛选的问题!!!!!!!!!标题要长!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
- 加急!!!为什么通过DLL来取数据就取不到?
- 长整型数转换为24位二进制表示的字节数组
- 在网页中,怎么获取客户端当前计算机的登录用户? 急..
- vs 能不能增加 自定义关键字 语法高亮
- 用C#编写windows窗口程序时,如何创建"自定义的windows 窗体模板",并使用.
- 求救高手:如何将Object类型的对象转换成byte[]
- 各位做过asp.net项目的兄弟,看看我的方案是否可行。
- 感觉无奈,谁伴我闯荡?!
- 请教使用XmlSerializer序列化对象时的一个异常错误
{ System.Drawing.Rectangle rect = Screen.GetWorkingArea(this);
int iWidth = rect.Width;
int iHeight = rect.Height;
this.Size = new Size(iWidth/2,iHeight);
}
int iHeight = System.Windows.Forms.Screen.PrimaryScreen.WorkingArea.Size.Height;
int iWidth = System.Windows.Forms.Screen.PrimaryScreen.WorkingArea.Size.Width;
this.Size = new Size(iWidth/2,iHeight);
}在我这正常,你的VS 是不是beta 版
也没有任何问题。
{
this.WindowState = 0;
System.Drawing.Rectangle rect = Screen.GetWorkingArea(this); int iWidth = rect.Width;
int iHeight = rect.Height;
this.Size = new Size(iWidth/2,iHeight);
}
form2.WindowState = FormWindowState.Normal再 new size 试试