Problem with code:
m_notifyIcon.BalloonTipText = "The app has been minimised. Click the tray icon to show.";
m_notifyIcon.BalloonTipTitle = "The App";
m_notifyIcon.ShowBalloonTip(2000);
Error:
http://s1120.photobucket.com/user/hjkromeo/media/Error.png.html
Project:
http://www.mediafire.com/?ut96x02s379rxfk
Please help me!
Loading

VulpesRank #55 · 29.2K reputationPosted Nov 3, 2013, 3:00 PM EST
I think I'd try re-installing Expression Blend.
If it's no better, I'd have a look at this custom NotifyIcon for WPF:
http://www.codeproject.com/Articles/36468/WPF-NotifyIcon
Rajesh Kumar JhaRank #9,215 · 209 reputationPosted Nov 1, 2013, 2:03 AM EDT
Please try adding the Following line , after you create the m_notifyIcon
m_notifyIcon = new System.Windows.Forms.NotifyIcon(this.components);
Please let me know if it helps.
Long Nguyen13 reputationPosted Nov 1, 2013, 6:40 PM EDT
when i add that row, appear an error:
MainWindow does not content a definition for 'component'...
VulpesRank #55 · 29.2K reputationPosted Nov 2, 2013, 4:42 PM EDT
I can't find anything in the documentation to suggest that they're not supported when you include a NotifyIcon in a WPF application.
Do they show up in Intellisense when you type m_notifyIcon. ?
Long Nguyen13 reputationPosted Nov 2, 2013, 11:07 PM EDT
http://s1120.photobucket.com/user/hjkromeo/media/ErrorNoti.png.html
Long Nguyen13 reputationPosted Nov 3, 2013, 3:58 PM EST