Home Forums WinForms controls Xceed Grid for WinForms Button_Click problem Reply To: Button_Click problem

User (Old forums)
Post count: 23064

You have to pass 2 parameters to Button2_Click: the sender and the eventargs. Since you’re not doing anything with it, you can pass null for both parameters, but perhaps you can also pass the sender and eventargs that you’ve got in Button4_Click:

Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button4.Click

Me.Button2_Click(sender, e)

End Sub

Imported from legacy forums. Posted by Tommy (had 3417 views)