B
Brett Romero
I'd like to have a specific method execute on the click event of a
control. The common syntax is:
Control1.Click += new EventHandler( Control1_Click );
void Control1_Click( object sender, EventArgs e )
{
//....
}
Instead of Control1_Click executing, I'd like this method to execute:
GetId(eMouseEventArgs, i, Control3.Name.ToString())
The signature is:
public void GetId( MouseEventArgs e, int pColumnNumber, string
pControlName )
I need to pass in the above parameters. How can I execute this method
on the click event?
Thanks,
Brett
control. The common syntax is:
Control1.Click += new EventHandler( Control1_Click );
void Control1_Click( object sender, EventArgs e )
{
//....
}
Instead of Control1_Click executing, I'd like this method to execute:
GetId(eMouseEventArgs, i, Control3.Name.ToString())
The signature is:
public void GetId( MouseEventArgs e, int pColumnNumber, string
pControlName )
I need to pass in the above parameters. How can I execute this method
on the click event?
Thanks,
Brett