Exemple #1
0
        public override void PageInstallLicense(PageInstallLicense action)
        {
            VerifyAction(typeof(PageInstallLicense));

            EnterPage(false);

            base.PageInstallLicense(action);

            ExitPage();
        }
        public InstallLicensePage(ScriptRunner runner, PageInstallLicense action, IScriptContinuation continuation)
        {
            if (runner == null)
                throw new ArgumentNullException("runner");
            if (action == null)
                throw new ArgumentNullException("action");
            if (continuation == null)
                throw new ArgumentNullException("continuation");

            _runner = runner;
            _continuation = continuation;

            InitializeComponent();

            _license.Text = TextUtil.FixNewlines(runner.ParseTemplate(action.Value));
            _header.SubText = String.Format(_header.SubText, runner.Environment.Config.SetupTitle);
            _agree.Text = String.Format(_agree.Text, runner.Environment.Config.SetupTitle);

            _license.Select(0, 0);
        }
 public abstract override void PageInstallLicense(PageInstallLicense action);
 public abstract override void PageInstallLicense(PageInstallLicense action);
Exemple #5
0
 public virtual void PageInstallLicense(PageInstallLicense action)
 {
 }
 public virtual void PageInstallLicense(PageInstallLicense action)
 {
 }
        public override void PageInstallLicense(PageInstallLicense action)
        {
            VerifyAction(typeof(PageInstallLicense));

            EnterPage(false);

            base.PageInstallLicense(action);

            ExitPage();
        }
 public override void PageInstallLicense(PageInstallLicense action)
 {
     using (var continuation = Runner.GetContinuation())
     {
         _form.ShowPage<InstallLicensePage>(Runner, action, continuation);
     }
 }