Screen size in WPF applications
来源:互联网 发布:网络诈骗七万判几年 编辑:程序博客网 时间:2024/05/01 20:15
WPF 和 Winddows的PrimaryScreen不同用法
Windows form application:
1
this
.Top = System.Windows.Forms.Screen.PrimaryScreen.WorkingArea.Height -
this
.Height;
2
this
.Left = System.Windows.Forms.Screen.PrimaryScreen.WorkingArea.Width -
this
.Width;
WPF application:
1
this
.Top = System.Windows.SystemParameters.WorkArea.Height -
this
.Height;
2
this
.Left = System.Windows.SystemParameters.WorkArea.Width -
this
.Width;
[srouce]http://ahmadreza.com/2009/11/20/screen-size-in-wpf-applications/
- Screen size in WPF applications
- Screen size in pixel
- Create Splash Screen in WPF
- Get the screen size in Android
- Get the screen size (screen resolution) in SmartGWT
- [WPF] Finding Memory Leaks in WPF-based applications
- Foundation Expression Blend 2: Building Applications in WPF and Silverlight
- How to use App.Config in WPF applications
- iphone screen size
- iOS Screen Size
- Android Screen size说明
- ios device screen size
- 代码查看screen size
- Launch Screen Image Size
- Android screen size and densities.
- Xamarin.Android Get Screen size
- Utilities about screen/view size
- Change checkbox size WPF
- 批处理文件的@echo off是什么意思?
- java面试之接口和抽象类的区别
- 系统将创建一个用户
- 索尼佳能欲挽救相机:家庭主妇成目标用户
- 在Ubuntu下使用vsftpd搭建FTP服务器
- Screen size in WPF applications
- A Comparison and Evaluation of Multi-View Stereo Reconstruction Algorithms
- Visual C++ 2010新特性:MFC的三大巨变
- Adding Outlook Contacts to Dynamics CRM 2011
- DataPager实现服务器端分页
- 自定义ListView中的分割线
- java面试之对象和类
- Centos如何安装Zend Optimizer(64位virtualmin/..
- 关闭浏览器时触发自定义函数