Say that I have a class called "HighClass" to which I want to add additional functionality. So, I write a partial class like this:
Now, when someone instantiates HighClass, I'd like to be able to run some start-up code in my partial class. How can I (can I?) detect instantiation from within my partial class so that I can do my start-up work?
Code:
Partial Class HighClass
'...new methods and properties
End Class