Your control should not know anything about the form it is on. The form should tell your control what's on it, or the control should fire an event telling the parent form to do something.
Example: when you click a button, does your button know about your form? No, you capture the ButtonClick event and your form does the work.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.