BrightnessTray.WindowPositioning.GetNotifyIconRectangle C# (CSharp) Метод

GetNotifyIconRectangle() публичный статический Метод

Returns a Rect containing the location of the specified notify icon.
public static GetNotifyIconRectangle ( System.Windows.Forms.NotifyIcon notifyicon ) : Rect?
notifyicon System.Windows.Forms.NotifyIcon The NotifyIcon whose location should be retrieved.
Результат Rect?
        public static Rect? GetNotifyIconRectangle(NotifyIcon notifyicon)
        {
            if (Compatibility.CurrentWindowsVersion == Compatibility.WindowsVersion.Windows7Plus)
                return GetNotifyIconRectWindows7(notifyicon);
            else
                return GetNotifyIconRectLegacy(notifyicon);
        }