Information générale
Catégorie:
Code, syntaxe and commandes
Versions des environnements
I have a form with a single button on it. In the click event i have the following code: MessageBox.Show("Hello, World!");
What you have to do is to create an eventhandler for the click event and put your code in that method. You do this in the property sheet under the events tab - you find the click event and double click in the space to the right of the click event to create the method you want to handle the click.
If I were you, I would find a good reference book to help you out here.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement