Exemple #1
0
        protected override void OnChangeOption()
        {
            this.m_mailgo.Track.Debug("ACTIVATION: Start changing option ...");

            OptionWF t_form;
            DateTime?t_deadline = null;

            if (!this.m_installed)
            {
                return;
            }

            this.m_mailgo.Track.Debug("ACTIVATION: License is installed!");

            if (!this.m_activated && !this.m_expired)
            {
                this.m_mailgo.Track.Debug("ACTIVATION: License is not activated and not expired!");
                t_deadline = this.m_expired_date;
            }

            t_form = new OptionWF(this.m_mailgo, t_deadline);
            t_form.ShowDialog();
        }
Exemple #2
0
        public void cmdOption_Click()
        {
            OptionWF opt = new OptionWF(m_mailgo);

            opt.ShowDialog();
        }