Click here to Skip to main content
15,887,683 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
ho to change the notifiicon on click mouse?? im usin the c# help me please but this code does not work
thanks all for responding
C#
if(NotifyIcon.Icon == this.eyeIcon)
{
                NotifyIcon.Icon = this.trafficIcon;
}
            else
{
                NotifyIcon.Icon = this.eyeIcon;
}
Posted
Comments
BillWoodruff 29-Aug-11 8:54am    
Please show us the code in the mouse-click event.
Member 8142674 29-Aug-11 9:44am    
private void button3_Click(object sender, EventArgs e)
{

}

1 solution

You're doing it wrong.

I know, this answer may seem vague or even obtuse, but the quality of the answer is directly related to the quality of the question. Hint - we need more info.
 
Share this answer
 
v2
Comments
Member 8142674 29-Aug-11 8:01am    
I have a NotifyIcon with an icon and I want at the click of a button icon will change
Member 8142674 29-Aug-11 8:50am    
help me

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900