Esempio n. 1
0
        /// <summary>
        /// Sets the TrayIcon to have a "disconnected" image as its icon.
        /// </summary>
        public void SetDisconnected()
        {
            var newText = string.Concat(ProductConstants.DefaultSystemTrayTitle, " - ", Manager.TranslationService.GetString("tray-disconnected"));

            SetContextMenuStatus(newText);
            notifyIcon.UpdateIcon(IconType.Disconnected, newText);
        }
Esempio n. 2
0
        /// <summary>
        /// Sets the TrayIcon to have a "disconnected" image as its icon.
        /// </summary>
        public void SetDisconnected()
        {
            var newText = string.Concat(ProductConstants.DefaultSystemTrayTitle, " - ", "Disconnected");

            SetContextMenuStatus(newText);
            notifyIcon.UpdateIcon(IconType.Disconnected, newText);
        }