I got an object, which is called in my form1-window. How can I change anything from the form1-object from within this object, for example a label or a processbar?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It would be a bad (circular) design to give your object a reference to your form. Use an interface or a delegate (callback).