1
I have a form
basis that all others inherit. I picked it from a question here from the same site.
That’s the construtor
:
public BaseForm()
{
if (LicenseManager.UsageMode == LicenseUsageMode.Designtime) return;
this.Load += BaseForm_Load;
this.FormClosed += BaseForm_FormClosed;
}
I have already researched and do not understand clearly what the function of this part of the code:
if (LicenseManager.UsageMode == LicenseUsageMode.Designtime) return
He’s just saying that if you’re in Desing mode he doesn’t run the method. The code below this line will only run when the application is running.
– Marcelo Monteiro