public static Rect? GetNotifyIconRectangle(NotifyIcon notifyicon) { if (Compatibility.CurrentWindowsVersion == Compatibility.WindowsVersion.Windows7Plus) return GetNotifyIconRectWindows7(notifyicon); else return GetNotifyIconRectLegacy(notifyicon); }