Quantcast
Channel: Programming Forums
Viewing all articles
Browse latest Browse all 51036

access a form's method from another form

$
0
0
hi,

i have a form which which loads some records in a grid view and a method which refresh these records. this form is called with the new operator each time.

i want to get from another form this refreshing method, how can i? i tried
form1.method_name()



but there is no effect as there can be opened more than one instance of form1 and the compilator dosen't know which form's method to access.

i would appreciate a lot any kind of help

Viewing all articles
Browse latest Browse all 51036

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>