我需要在 Windows 10 的系统托盘/通知区域中的电池图标旁边放置通知图标。当我使用可用的“NotifyIcon”类型添加图标时,它会将图标添加到系统托盘的溢出区域。我正在使用 C# 开发这个工具,请让我知道这方面的任何见解。
using (NotifyIcon icon = new NotifyIcon())
{
System.Drawing.Icon.ExtractAssociatedIcon("./Image/icon.ico");
icon.Icon = Icon.FromHandle(bmp.GetHicon());
icon.Text = "See your device health";
icon.Click += new System.EventHandler(notifyIcon_Click);
}