Hi Pamela,
.NET provides full support for raising and responding to events. The .NET event model is more robust and flexible than VFP's. The .NET event model is based on the object-oriented Observer design pattern. This model involves three main entities:
An event transmitter
An event receiver
A delegate
>Hi Cathi,
>
>Is there a way to do event binding like BindEvents() in Fox?
>
>pamela
>
>>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.comwww.prenia.comWeblog: blogs.prenia.com/cathi