2
Reply

Refresh Data on Parent Form1

JJ Ross

JJ Ross

Jan 22 2008 8:16 PM
2.7k
 

Hi All,

I have a win app with two forms involved. Form1 opens up Form2. When I go to close Form2 I want to refresh some grids on Form1 first. I tried setting up a custom eventhandler but its kind of hokey. I need some way to call a method in Form1 from Form2. Does anyone have the best way to do this? I passed a Form1 reference to Form2 and tried to see a public method that I declared in Form1 but doesn't show up. So I went with trying to create a custom event in Form1 and call it from Form2 but not sure the best way to do this, any ideas?

 

Thanks,

JJ


Answers (2)