event notification

  • Thread starter Thread starter Greg Chu
  • Start date Start date
G

Greg Chu

Hi, all,

I have a timer on one form (A), which is a parent form, use click on one
button on form (A) to show form (B).

When timer ticks on form (A), I need to notify form (B) that it happened.

Do I have a way to do it in vb.net?

Thanks!

Greg
 
Global parameter:
dim frmB as new formB

when you open the form (B) you use for exm' (in your button function):
frmB.Show

use this line in your timer tick function:
frmB.aaa()

while aaa is a function in form (B).
 

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

Back
Top