Set image in NotifyIcon control from code behind or in XAML
问题 i am using the NotifyIcon from WindowsForms because in WPF we don't have such control, but the one from WinForms works fine, my problem is only setting an image as icon in the NotifyIcon when the image is in the Project. I have the image in a folder called Images in my Project, the image file calls 'notification.ico'. Here is my NotifyIcon: System.Windows.Forms.NotifyIcon sysIcon = new System.Windows.Forms.NotifyIcon() { Icon = new System.Drawing.Icon(@"/Images/notification.ico"), ContextMenu