EventHandler and GDI+ Function
I am trying to call a GDI+ function:
{private void Enter_Equation(object sender,PaintEventArgs e)
{.....}
when the user clicks a button with the code:
EnterEquation.Click+=new EventHandler(this.Enter_Equation);
However i get an error saying Method'Menu.Enter_Equation(object,System.Windows.F orms.PaintEventArgs)' does not match delegate 'void System.EventHandler(Object,System.EventArgs)'
How do I resolve this?
|