I've been searching for a solution for couple of days now, but can't find a simple answer. I've tried a number of examples found on internet (delegates, properties, even breaking OOP making everything public) but none of these seem to work. Can someone please write a simplest possible code for the following problem:
I have MDI parent form, and a child form. MDI parent form has a status-strip label. Child form has a button. All I want to do is update the MDI label on click of child form button.
Thanks!!!
It is not the best solution. However, it is the easiest one:
1- Change the access modifier of the status-strip label to public.
2- Unbox the parent form to its real type to be able to access the label: