How Do I Update Grid On Another Open Form?

  • Thread starter Thread starter Steven C
  • Start date Start date
S

Steven C

Hello:

I am a Forxpro developer trying to come up to speed in C#. I'm trying
to do in C# what I do effortlessly in Foxpro, and that is to call a
grid refresh method in the parent form from the child form.

I have a customers form with a grid bound to a dataset, and a child
form "Add Customer" form. I would like a cleanup method on the Add
Customer form to call the 'm_refreshcustomersgrid' method in the
Customers form, so the grid will reflect the new value.

How do I do this?

Thanks!!

Steven
 
Create an event in the child form that the parent form subscribes to and
when fired from the child the parent will call its m_refreshcustomersgrid
method.
 
Back
Top