Hello.
I wonder how i do if i want to change a notifyicon depeding on if a textbox is visible or not.
I thought that i chould do something simple as this.
Use a IF statment when the form loads. Looks like this.
if (username.Visible == true)
{
notifyIcon1.Icon = PaddyCube.Properties.Resources.paddycubeoffline;
}
else
{
notifyIcon1.Icon = PaddyCube.Properties.Resources.paddycubeonline;
}
My thing dose not work so good, how do i do this?