C#窗口靠右 怎样设置窗口靠右,并且高度屏幕的高度一样 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 设置Form的属性this.Top = 0;this.Height = Screen.PrimaryScreen.WorkingArea.Height;this.Left = Screen.PrimaryScreen.WorkingArea.Width - this.Width; 设置窗口的Location,Position属性?最大最小化? 关键还是理解Screen.PrimaryScreen int x = Screen.PrimaryScreen.Bounds.Width - this.Width;int y = 0;this.Location = new Point(x, y);this.Height = Screen.PrimaryScreen.Bounds.Height; this.Top = 0;this.Height = Screen.PrimaryScreen.WorkingArea.Height;this.Left = Screen.PrimaryScreen.WorkingArea.Width - this.Width;这个是靠右。。你再试试。是不是哪弄错了 如何实体类是否赋过值? 问个多线程的问题:) 多编程语言协同开发的问题?!希望高手指点 URL编码问题,为何叹号无法编码? c#.net2005 多个form怎样互相调用,新手谢谢帮忙!! 新手学习C#,求基础的实例代码 GDI+ 怎样检测并填充任意封闭区域? UDP打洞问题 如何判断是文件夹还是文件? 简单的问题 使用 Framework 2.0 如果实现 Windows 7 中的 JumpList 功能? C# 如何导入Excel 并写入数据库
this.Top = 0;
this.Height = Screen.PrimaryScreen.WorkingArea.Height;
this.Left = Screen.PrimaryScreen.WorkingArea.Width - this.Width;
int x = Screen.PrimaryScreen.Bounds.Width - this.Width;
int y = 0;
this.Location = new Point(x, y);
this.Height = Screen.PrimaryScreen.Bounds.Height;
this.Top = 0;
this.Height = Screen.PrimaryScreen.WorkingArea.Height;
this.Left = Screen.PrimaryScreen.WorkingArea.Width - this.Width;这个是靠右。。你再试试。是不是哪弄错了