Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Multiple Forms
Message
De
22/09/2003 12:30:46
 
 
À
22/09/2003 10:03:25
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Titre:
Divers
Thread ID:
00831081
Message ID:
00831162
Vues:
16
Steve,

That seems weird ... are you sure you didn't click on the button twice by accident? My mouse seems to have a mind of it's own and sometimes it clicks twice, seemingly by itself.


~~Bonnie



>I am trying to create my first Windows Forms application. I created a Main form and added a Main Menu to it. I added a second Windows Form called Questionaires. I created code for the click event of one of my main menu items on the main form that looks like:
>
>private void miQuestionaires_Click(object sender, System.EventArgs e)
>{
> Form frmQuestionaires = new Questionaires();
> frmQuestionaires.Show();
>}
>
>The problem is that when I click on the "Questionaires" menu item, 2 instances of the Questionaires form are displayed.
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform