R
Robert Batt
Hello,
I'm trying to modularize the code in my forms by
putting some procedures and delegates in a seperate class.
However I try to put a delegate with the following header
in a class.
Public Sub DecimalToCurrencyString(ByVal sender As
Object, ByVal cevent As ConvertEventArgs)
However I get a syntax error on ConvertEventArgs, saying
it is not declared. the class will not let me import
system.windows.forms for some reason.
Any ideas if or how I can get around this, or are
delegates just not allowed in classes
Regards
Robert
I'm trying to modularize the code in my forms by
putting some procedures and delegates in a seperate class.
However I try to put a delegate with the following header
in a class.
Public Sub DecimalToCurrencyString(ByVal sender As
Object, ByVal cevent As ConvertEventArgs)
However I get a syntax error on ConvertEventArgs, saying
it is not declared. the class will not let me import
system.windows.forms for some reason.
Any ideas if or how I can get around this, or are
delegates just not allowed in classes
Regards
Robert