Hi all,
I have a project with two forms. Call them form1 and form2.
On form1, I have a notifyIcon which appears in the system tray when the application starts.
On form2, I have a textbox, browse button, and an openFileDialog.
Now,
On form2, when I browse for and choose an Icon, I want the icon to be applied to form1.notifyIcon.Icon property.
Can anyone help me out with this? I have all the code in which sets the icon. The only thing I don't understand is how to change icon from form2 without creating new instance of form1 class.
When I create a new instance of form1 class I end up with two form1s open on the screen.
Thanks in advance for your help!
~ss