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.ContentControls.Add(finishedControl); Form.NextButton.Enabled = true; } }