I have a main form where when a user clicks a button it brings up a balloon tip. The balloon tip is an object instantiated within my Main form class from my BalloonTip class. I then have a second form for settings. When the user clicks something in the settings form a balloon tip occurs as well. I currently have a balloontip object instantiated in my Main class as well as my SettingsForm class. My two questions are:
- Is there a more appropriate way to deal with this type of situation?
- If creating an object twice 1 in each class, will it cause any kind of ambiguity in the compiler if the objects have the same name (i.e. objectBalloon)?