Hi all,
I want to call button1_Click event in Button2_Click in VB.NET.
How can i call it.
Can any one help me in this matter.
Regards
Nag K.
Printable View
Hi all,
I want to call button1_Click event in Button2_Click in VB.NET.
How can i call it.
Can any one help me in this matter.
Regards
Nag K.
orVB Code:
Me.Button1_Click(sender, e)
orVB Code:
Me.Button1_Click(Nothing, Nothing)
VB Code:
Me.Button1_Click(Me, Nothing)
HI,
Or simply, if you don't need to identify the sender.
VB Code:
Button1.PerformClick