neon_yt Posted January 13, 2016 at 07:20 PM Report Share #591940 Posted January 13, 2016 at 07:20 PM Olá e peço desculpa por estar sempre a pedir ajuda, mas é o seguinte, eu sei que para adicionar uma certa quantidade a um label usa-se: nome_do_label.text += quantidade Mas como faço para adicionar uma certa quantidade a outra form? Por exemplo, quero adicionar 5 clicando num botão na Form1 e esses 5 são somados a uma label na Form2. Já agora obrigado. Link to comment Share on other sites More sharing options...
He B TeMy Posted January 13, 2016 at 07:22 PM Report Share #591941 Posted January 13, 2016 at 07:22 PM Fazes form2.label.text += quantidade. Link to comment Share on other sites More sharing options...
neon_yt Posted January 13, 2016 at 07:26 PM Author Report Share #591942 Posted January 13, 2016 at 07:26 PM Fazes form2.label.text += quantidade. Muito 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