Jump to content
Xtreme .Net Talk

use code to "click" a button


Recommended Posts

Guest Cheung
Posted

I have a Base form which has a button on it.

I have a child form which inherits Base form.

 

When the child form is loaded, I want the code of sub "button_click" of both forms run. What can I do?? Is there any code that "clicks" the button for me?

 

Thanks a million!

Guest Cheung
Posted

sorry for asking the question before checking help page.

 

the code is button.perform_click()

 

Thanks!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...