protected override void OnVisibleChanged(EventArgs e) { #if TRIAL if(!this.DesignMode && !_ShownOnce) { RemindForm frm=new RemindForm(); frm.ShowDialog(); frm.Dispose(); _ShownOnce = true; } #endif base.OnVisibleChanged(e); }
protected override void OnMouseDown(MouseEventArgs e) { base.OnMouseDown(e); _MouseDown = true; if (_HotItem != null) _HotItem.OnMouseDown(e); #if !TRIAL if (Licensing.KeyValidated2 != 114 && _DialogDisplayed == false) { RemindForm f = new RemindForm(); f.ShowDialog(); f.Dispose(); _DialogDisplayed = true; } #endif }