taov Posted February 19, 2009 at 02:05 PM Report Share #245541 Posted February 19, 2009 at 02:05 PM 😛 Ao abrir um formulário, queria a função adicionar á base de dados, carregasse automaticamente. Do tipo. Ter um MDiParent e ao carregar num botão ele abre um form, solto, não esta preso num panel, mas que não seja preciso carregar num botão adicionar, mas sim, que ao abrir já tenha isso. obrigado! Link to comment Share on other sites More sharing options...
anolsi Posted February 19, 2009 at 02:10 PM Report Share #245544 Posted February 19, 2009 at 02:10 PM Podes simular o clicar nesse mesmo botão, sem ser necessário clicar, com o procedimento PerformClick do botão "Nós somos o que fazemos repetidamente, a excelência não é um feito, e sim, um hábito."Não respondo a questões por PM que possam ser colocadas no fórum! Link to comment Share on other sites More sharing options...
taov Posted February 19, 2009 at 02:19 PM Author Report Share #245546 Posted February 19, 2009 at 02:19 PM Podes simular o clicar nesse mesmo botão, sem ser necessário clicar, com o procedimento PerformClick do botão e como é que isso se faz? Link to comment Share on other sites More sharing options...
Hellblazer Posted February 19, 2009 at 02:25 PM Report Share #245547 Posted February 19, 2009 at 02:25 PM Não sera mais facil simplesmente fazer isso no form load? There are two ways to write error-free programs; only the third one works. Link to comment Share on other sites More sharing options...
taov Posted February 19, 2009 at 02:27 PM Author Report Share #245548 Posted February 19, 2009 at 02:27 PM Não sera mais facil simplesmente fazer isso no form load? pois mas da maneira como tu me disses t na ultima vez, aquilo esta um pouco confuso!!! Link to comment Share on other sites More sharing options...
Hellblazer Posted February 19, 2009 at 02:49 PM Report Share #245553 Posted February 19, 2009 at 02:49 PM pois mas da maneira como tu me disses t na ultima vez, aquilo esta um pouco confuso!!! da uma vista de olhos aqui: http://vbtuga.blogspot.com/2008/04/vbnet-gesto-de-dados-em-sql-server.html There are two ways to write error-free programs; only the third one works. 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