Updating Control on Main Form form Child Form

G

Guest

Is there anyway to update a control held on my main form
from a child form? I've tried making the control itself
public but I still can't seem to access it
 
E

Ed Kaim [MSFT]

I'm not sure how you're accessing the parent from the child, but if you're
using "Parent" you'll need to cast it to the type of your parent form (like
"(Form1) this.Parent") in order to see anything public off of it.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top