示例#1
0
		/// <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);
		}
示例#2
0
        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);
        }
示例#3
0
		protected override void OnHandleCreated(EventArgs e)
		{
			base.OnHandleCreated(e);

			RemindForm frm=new RemindForm();
			frm.ShowDialog();
			frm.Dispose();
		}