How do I pass a row information from my class to a grid in the windows form of my application? The row information changes every now and then and I need to pass this updated information to the form
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.
You can expose an event in your class that the form class can subscribe to. When that event is triggered the form can update the UI as needed. For example:
You could actually just pass the TextBox.TextChanged event right no through in this example.