Example #1
0
File: RDMPForm.cs Project: rkm/RDMP
 /// <summary>
 /// Constructs the form without initializing the activator.  If you use this method you must call SetItemActivator manually later
 /// </summary>
 public RDMPForm()
 {
     KeyPreview             = true;
     CloseOnEscape          = true;
     VisualStudioDesignMode = (LicenseManager.UsageMode == LicenseUsageMode.Designtime);
     KeyDown            += RDMPForm_KeyDown;
     CommonFunctionality = new RDMPControlCommonFunctionality(this);
 }
Example #2
0
 //constructor
 protected RDMPUserControl()
 {
     VisualStudioDesignMode = (LicenseManager.UsageMode == LicenseUsageMode.Designtime);
     CommonFunctionality    = new RDMPControlCommonFunctionality(this);
 }