Exemplo 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);
        }
Exemplo 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);
        }