/// <summary>Hides the control during runtime usage</summary> private void hideControlAtRuntime() { TrackingBarControl.VisibleChanged += new EventHandler(trackingBarVisibleChanged); LicenseUsageMode usageMode = System.ComponentModel.LicenseManager.UsageMode; if (usageMode == LicenseUsageMode.Runtime) { base.Visible = false; } }
/// <summary> /// Initializes a new instance of the <see cref="ZeroitAnidasoCircleProgress" /> class. /// </summary> public ZeroitAnidasoCircleProgress() { this.InitializeComponent(); //color_0 = BackColor; this.lblpass.Font = this.Font; this.lblpass.ForeColor = this.ForeColor; this.lblpass.Top = base.Height / 2 - this.lblpass.Height / 2; this.lblpass.Left = base.Width / 2 - this.lblpass.Width / 2; base.Width = base.Height; LicenseUsageMode usageMode = LicenseManager.UsageMode; AnidasoCustomControl.initializeComponent(this); base.GetType().GetProperty("DoubleBuffered", BindingFlags.Instance | BindingFlags.NonPublic).SetValue(this, true, null); }
public CLRLicenseContext(LicenseUsageMode usageMode, Type type) { this.usageMode = usageMode; this.type = type; }
private CLRLicenseContext(Type type, LicenseUsageMode mode) { UsageMode = mode; _type = type; }
internal LicenseContext(LicenseUsageMode usageMode) { pUsageMode = usageMode; }
public CLRLicenseContext(LicenseUsageMode usageMode, Type type) { UsageMode = usageMode; _type = type; }
public CLRLicenseContext(LicenseUsageMode usageMode, Type type) { _usageMode = usageMode; _type = type; }
public MockLicenseContext(Type type, LicenseUsageMode mode) { UsageMode = mode; _type = type; }