I have my main form which has a NotifyIcon attached for balloon tips. I have a separate BalloonTip class which does some processing to determine what goes into the balloon. How can I use the notifyIcon in my main form/class from my BalloonTip class?
EDIT: I'm not sure how to pass the notify icon by reference
//passing data to my balloon class
ShowBalloonTip(data, ref notifyIcon1);
//not sure how to receive the notifyicon here
public void ShowBalloonTip(string s, object notifyicon)
Any suggestions?