From 2a7ef356bdeaaa73cd0744b3df9d560421ac2d53 Mon Sep 17 00:00:00 2001 From: Chris Kaczor Date: Fri, 28 Apr 2023 12:50:49 -0400 Subject: [PATCH] Set tray icon ID --- Application/NotificationIcon.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Application/NotificationIcon.cs b/Application/NotificationIcon.cs index 9648632..aa69245 100644 --- a/Application/NotificationIcon.cs +++ b/Application/NotificationIcon.cs @@ -1,4 +1,5 @@ -using FeedCenter.Properties; +using System; +using FeedCenter.Properties; using H.NotifyIcon; using System.Windows.Controls; @@ -16,7 +17,7 @@ internal static class NotificationIcon _mainWindow = mainWindow; // Create the notification icon - _notificationIcon = new TaskbarIcon { Icon = Resources.Application }; + _notificationIcon = new TaskbarIcon { Icon = Resources.Application, Id = Guid.Parse("2F4CE5CA-BC20-4D0D-80D0-45F13C6F4905") }; _notificationIcon.TrayMouseDoubleClick += HandleNotificationIconDoubleClick; // Setup the menu