Click here to Skip to main content
15,889,877 members
Home / Discussions / C#
   

C#

 
GeneralRe: StatusBar Stops Updating on Minimize ? Pin
Judah Gabriel Himango23-Jun-06 4:32
sponsorJudah Gabriel Himango23-Jun-06 4:32 
GeneralRe: StatusBar Stops Updating on Minimize ? Pin
Mike Bluett23-Jun-06 11:05
Mike Bluett23-Jun-06 11:05 
Questionsolutions explorer Pin
ddpn4222-Jun-06 12:09
ddpn4222-Jun-06 12:09 
AnswerRe: solutions explorer Pin
Nader Elshehabi22-Jun-06 12:23
Nader Elshehabi22-Jun-06 12:23 
GeneralRe: solutions explorer Pin
ddpn4223-Jun-06 2:55
ddpn4223-Jun-06 2:55 
Questionproblems with notifyicon - BalloonTipClicked events etc Pin
madhombre22-Jun-06 11:42
madhombre22-Jun-06 11:42 
AnswerRe: problems with notifyicon - BalloonTipClicked events etc Pin
Nader Elshehabi22-Jun-06 12:28
Nader Elshehabi22-Jun-06 12:28 
AnswerRe: problems with notifyicon - BalloonTipClicked events etc Pin
Judah Gabriel Himango22-Jun-06 12:57
sponsorJudah Gabriel Himango22-Jun-06 12:57 
You're basically saying, "when the balloon tip is clicked, call the WSNotifyIcon_BalloonTipClicked function. It's of type EventHandler."

The problem lies in the fact that your WSNotifyIcon_BalloonTipClicked doesn't match the EventHandler signature. If you look at the signature of EventHandler delegate, it returns void (you're good there), it takes an object as its first parameter (you're good there) and it takes an EventArgs as its second parameter (oops! yours takes a uint).

Make your WSNotifyIcon_BalloonTipClicked conform to the EventHandler signature. To do that, change the second parameter to be type EventArgs.

p.s. in C# 2, you can omit the "new System.EventHandler(" part. For example, this is valid and more concise syntax:

this.WSNotifyIcon.BalloonTipClicked += this.WSNotifyIcon_BalloonTipClicked;


Tech, life, family, faith: Give me a visit.
I'm currently blogging about: Goof around music jam with my brothers (with video)
The apostle Paul, modernly speaking: Epistles of Paul

Judah Himango


QuestionPercent Formatting Pin
Drew McGhie22-Jun-06 11:28
Drew McGhie22-Jun-06 11:28 
AnswerRe: Percent Formatting Pin
Nader Elshehabi22-Jun-06 12:11
Nader Elshehabi22-Jun-06 12:11 
AnswerRe: Percent Formatting Pin
Guffa22-Jun-06 23:45
Guffa22-Jun-06 23:45 
GeneralRe: Percent Formatting Pin
Drew McGhie23-Jun-06 4:20
Drew McGhie23-Jun-06 4:20 
Questionlist box click event not working with loop Pin
donkaiser22-Jun-06 10:54
donkaiser22-Jun-06 10:54 
AnswerRe: list box click event not working with loop Pin
Nader Elshehabi22-Jun-06 12:01
Nader Elshehabi22-Jun-06 12:01 
GeneralRe: list box click event not working with loop Pin
donkaiser22-Jun-06 12:06
donkaiser22-Jun-06 12:06 
GeneralRe: list box click event not working with loop Pin
Nader Elshehabi22-Jun-06 12:35
Nader Elshehabi22-Jun-06 12:35 
QuestionHow can I convert a string to an type Pin
User 309585922-Jun-06 10:04
User 309585922-Jun-06 10:04 
AnswerRe: How can I convert a string to an type Pin
User 665822-Jun-06 10:34
User 665822-Jun-06 10:34 
GeneralRe: How can I convert a string to an type Pin
User 309585922-Jun-06 10:46
User 309585922-Jun-06 10:46 
AnswerRe: How can I convert a string to an type Pin
Insincere Dave22-Jun-06 13:20
Insincere Dave22-Jun-06 13:20 
GeneralRe: How can I convert a string to an type Pin
User 309585922-Jun-06 16:17
User 309585922-Jun-06 16:17 
QuestionStupid String Format Question Pin
gantww22-Jun-06 8:16
gantww22-Jun-06 8:16 
AnswerRe: Stupid String Format Question - Answer Pin
gantww22-Jun-06 8:28
gantww22-Jun-06 8:28 
AnswerRe: Stupid String Format Question Pin
Dustin Metzgar22-Jun-06 8:28
Dustin Metzgar22-Jun-06 8:28 
QuestionSingle process instance object implemetation Pin
h4rdw4re122-Jun-06 8:11
h4rdw4re122-Jun-06 8:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.