public static GetWindowPosition ( System.Windows.Forms.NotifyIcon notifyicon, double windowwidth, double windowheight, double dpi ) : Point | ||
notifyicon | System.Windows.Forms.NotifyIcon | The notify icon that the window should be aligned to. |
windowwidth | double | The width of the window. |
windowheight | double | The height of the window. |
dpi | double | The system's DPI (in relative units: 1.0 = 96 DPI, 1.25 = 120 DPI, etc.). |
return | Point |