falcan Posted July 19, 2012 at 02:42 PM Report Share #469252 Posted July 19, 2012 at 02:42 PM ola... que queria saber se é possível e como se faz, para clicar com código ? por exemplo... if button = "true" then clicar no button2 uma vez end if queria que o código que inseri no button2 roda-se... da para fazer ? obrigado Link to comment Share on other sites More sharing options...
jpaulino Posted July 19, 2012 at 07:58 PM Report Share #469279 Posted July 19, 2012 at 07:58 PM Podes usas o método Button.PerformClick: http://msdn.microsoft.com/en-us/library/system.windows.forms.button.performclick.aspx#Y0 Link to comment Share on other sites More sharing options...
falcan Posted July 20, 2012 at 01:39 PM Author Report Share #469376 Posted July 20, 2012 at 01:39 PM obrigado 🙂 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now