Exemplo n.º 1
0
 /// <summary>
 /// Gets the position of the client, and its outer boundaries
 /// </summary>
 public Rect Size()
 {
     Util.WinAPI.RECT r = new Pokemon.Util.WinAPI.RECT();
     Util.WinAPI.GetWindowRect(Handle, ref r);
     return new Rect(r);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Gets the position of the client, and its outer boundaries
 /// </summary>
 public Rect Size()
 {
     Util.WinAPI.RECT r = new Pokemon.Util.WinAPI.RECT();
     Util.WinAPI.GetWindowRect(Handle, ref r);
     return(new Rect(r));
 }