コード例 #1
0
        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);
        }
コード例 #2
0
        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
        }