Zhwang.SuperNotifyIcon.SuperNotifyIcon.GetLocation C# (CSharp) Method

GetLocation() public method

public GetLocation ( ) : Point?
return Point?
        public Point? GetLocation()
        {
            return GetLocation(0);
        }

Same methods

SuperNotifyIcon::GetLocation ( bool tryReturnIfHidden ) : Point?
SuperNotifyIcon::GetLocation ( int accuracy ) : Point?
SuperNotifyIcon::GetLocation ( int accuracy, bool tryReturnIfHidden ) : Point?

Usage Example

Example #1
0
        /// <summary>
        /// Main Class for RegistryMonitor.
        /// </summary>
        public Form1()
        {
            if (_allowLogging)
            {
                ExceptionlessClient.Default.Register(false);
                ExceptionlessClient.Default.Configuration.SetUserIdentity(Environment.MachineName);
                ExceptionlessClient.Default.Configuration.UseSessions();
            }

            InitializeComponent();

            _loadedSettings = new LoadedSettings();

            LoadMenu();
            _hkManager = new HotKeyManager();
            LoadGlobalHotkey();
            _menuStrip = menuStrip;

            // Gets the location of the systray icon
            _superNotifyIcon = new SuperNotifyIcon {NotifyIcon = Icon};
            _locationOfIcon = _superNotifyIcon.GetLocation();

            _settingsAlreadyRunning = false;
        }
All Usage Examples Of Zhwang.SuperNotifyIcon.SuperNotifyIcon::GetLocation