Illegal use of NEW or DELETE

You used the name New or Delete to name a function, property, or variable within a class definition. Within a class, the names New and Delete are reserved for subs; they may not be functions, properties, or variables.

Rename the function, property, or variable. To specify a sub to be executed on the construction or deletion of an object, include a Sub New or Sub Delete in the class definition.