コード例 #1
0
ファイル: NativeMethods.cs プロジェクト: zhuangfangwang/ise
		public static extern bool GetWindowRect(IntPtr hWnd, out RECT lpRect);
コード例 #2
0
 private static int getArea(SystemWindow sw)
 {
     RECT rr = sw.Rectangle;
     return rr.Height * rr.Width;
 }
コード例 #3
0
ファイル: MWinUtil.cs プロジェクト: windwp/myexp
 public static Rectangle GetControlSize(RECT pRect)
 {
     return new Rectangle(pRect.Top,pRect.Left,pRect.Right-pRect.Left,pRect.Bottom-pRect.Top);
 }
コード例 #4
0
 static extern bool GetWindowRect(IntPtr hWnd, out RECT lpRect);