private void ShowSummary() { labelSummaryCaption.Text = string.Empty; string summaryCaption = ""; string summaryValue = ""; foreach (Control item in _listControls) { IWizardControl control = item as IWizardControl; if (null != control) { if (ProjectWizardControl.Singleton.IsAddinProject) { string[] array = control.GetSettingsSummary(); summaryCaption += array[0] + Environment.NewLine; summaryValue += array[1] + Environment.NewLine; } else { if ((!(control is LoadControl)) && (!(control is GuiControl))) { string[] array = control.GetSettingsSummary(); summaryCaption += array[0] + Environment.NewLine; summaryValue += array[1] + Environment.NewLine; } } } } labelSummaryCaption.Text = summaryCaption; labelSummaryValue.Text = summaryValue; }