Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to call this event ?!
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00814429
Message ID:
00814431
Views:
11
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform