/// <summary> /// Creates new instance of DotNetBarManager. /// </summary> /// <param name="cont">Container.</param> public DotNetBarManager(IContainer cont) { #if TRIAL RemindForm frm=new RemindForm(); frm.ShowDialog(); frm.Dispose(); #endif //#if !DEBUG // m_License = LicenseManager.Validate(typeof(DotNetBarManager), this); //#endif //#endif InitializeComponent(cont); }
protected override void OnVisibleChanged(EventArgs e) { if (!this.Visible) OnActiveWindowChanged(); else { #if TRIAL if(!this.DesignMode && !_ShownOnce) { RemindForm frm=new RemindForm(); frm.ShowDialog(); frm.Dispose(); _ShownOnce = true; } #endif } base.OnVisibleChanged(e); }
protected override void OnHandleCreated(EventArgs e) { base.OnHandleCreated(e); RemindForm frm=new RemindForm(); frm.ShowDialog(); frm.Dispose(); }