Static constructor

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is there any way to make the Designer invoke a static constructor when in
Design mode?

Thanks.
 
A static ctor will run when the first member or function in the class is
accessed, so if the designer accesses anything in the class, the ctor should
be running.

-Chris
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top