Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to call this event ?!
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00814429
Message ID:
00814431
Vues:
12
Hi Ahmad,

In the Button_Click event, call the ComboBox1_SelectedIndexChanged method, passing the same parameters sent to the Click event.

>Hi,
>
>I have a form with a ComboBox, and I have an event if the Combobox indexchanged to do somthing as follow, and I have a button, if the button clicked it should call the ComboBox event.
>
>How I can call the ComboBox event from the Button bush ?
>
>Private Sub ComboBox1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ComboBox1.SelectedIndexChanged
>        MsgBox("change")
>...
>...
>End Sub
>
>
>Thanks for the help
-----------------------------------------

Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.com
www.prenia.com
Weblog: blogs.prenia.com/cathi
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform