Set tray icon ID

This commit is contained in:
2023-04-28 12:50:49 -04:00
parent 105b6e7d30
commit 2a7ef356bd

View File

@@ -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