HI Experts…
I am getting complier error in Forms that I cant seem to work out.
Simple Button click will not work as per the code below after adding the handler
Any assistance / hints would be great.
Steve
public void InitializeCustomCode()
{
// ** Wizard Insert Location - Do not delete ‘Begin/End Wizard Added Variable Initialization’ lines **
// Begin Wizard Added Variable Initialization
// End Wizard Added Variable Initialization
// Begin Wizard Added Custom Method Calls
this.epiButtonC1.Click += new System.EventHandler(this.epiButtonC1_Click);
// End Wizard Added Custom Method Calls
}
Compile error is
Compiling Custom Code …
----------errors and warnings------------
Error: CS1061 - line 54 (2190) - ‘Script’ does not contain a definition for ‘epiButtonC1_Click’ and no extension method ‘epiButtonC1_Click’ accepting a first argument of type ‘Script’ could be found (are you missing a using directive or an assembly reference?)
** Compile Failed. **