void CompletionControl_Load(object sender, EventArgs e)
        {
            // Conditionally show the FinishedControl
              if (InstallConfiguration.ShowFinishedControl && Form.Operation == InstallOperation.Install)
              {
            FinishedControl finishedControl = new FinishedControl();
            finishedControl.Title = CommonUIStrings.finishedTitle;
            finishedControl.SubTitle = InstallConfiguration.FormatString(CommonUIStrings.finishedSubTitle);
            Form.StoreNextTitle(Resources.CommonUIStrings.controlSummaryFinished);
            Form.ContentControls.Add(finishedControl);

            Form.NextButton.Enabled = true;
              }
        }
Example #2
0
        void CompletionControl_Load(object sender, EventArgs e)
        {
            // Conditionally show the FinishedControl
            if (InstallConfiguration.ShowFinishedControl && Form.Operation == InstallOperation.Install)
            {
                FinishedControl finishedControl = new FinishedControl();
                finishedControl.Title    = CommonUIStrings.finishedTitle;
                finishedControl.SubTitle = InstallConfiguration.FormatString(CommonUIStrings.finishedSubTitle);
                Form.StoreNextTitle(Resources.CommonUIStrings.controlSummaryFinished);
                Form.ContentControls.Add(finishedControl);

                Form.NextButton.Enabled = true;
            }
        }