Here is a scenario within my Windows application.
I have a Form (Form 1) open that contains many ComboBoxes. Each of these CB's contain system data or "Lookup" data. This "Lookup" data is dynamically controlled from another form (Form 2) that only certain users with special permissions can access.
What I need to be able to happen is that when Form 1 is open and the user realizes that a particular CB needs a data element added to it, they can open Form 2, add a new data element to whichever "Lookup" table they need and then save the data and close the form. On Form 1, I have a Button that is disable for most of the time. This Button needs to be enabled and when clicked will update one or more CB's. What I need is for a way to "Enable" this Button once Form 2 has saved data.
Can I declare a Public Event somewhere? If so, where should it be declared? I'm not sure how to automatically enable the Button when this scenario happens, which should be very rare!!!