コード例 #1
0
ファイル: RDMPForm.cs プロジェクト: 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);
 }
コード例 #2
0
 //constructor
 protected RDMPUserControl()
 {
     VisualStudioDesignMode = (LicenseManager.UsageMode == LicenseUsageMode.Designtime);
     CommonFunctionality    = new RDMPControlCommonFunctionality(this);
 }