/// <summary> /// Fired when the confirm choices screen of the wizard is shown. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="T:System.EventArgs"/> instance containing the event data.</param> private void wizardPageConfirmChoices_ShowFromNext(object sender, EventArgs e) { lstChoiceOverview.Items.Clear(); AddInUtils.InsertListViewItem(lstChoiceOverview, "Application Name", txtApplicationName.Text, "General Settings"); AddInUtils.InsertListViewItem(lstChoiceOverview, "Database Type", ddlDatabaseType.SelectedItem.ToString(), "General Settings"); if (cbShowAdvancedOptions.Checked) { AddInUtils.InsertListViewItem(lstChoiceOverview, "AndroMDA Launcher", ddlAndroMDABootstrap.SelectedItem.ToString(), "General Settings"); AddInUtils.InsertListViewItem(lstChoiceOverview, "AndroMDA Version", txtAndroMDAVersion.Text, "General Settings"); AddInUtils.InsertListViewItem(lstChoiceOverview, "Use zipped model file", cbUseZippedModel.Checked ? "Yes" : "No", "General Settings"); } AddInUtils.InsertListViewItem(lstChoiceOverview, "Common Project", usrCommonProject.ProjectName, "Project Settings"); AddInUtils.InsertListViewItem(lstChoiceOverview, "Core Project", usrCoreProject.ProjectName, "Project Settings"); if (cbCreateSchemaExport.Checked) { AddInUtils.InsertListViewItem(lstChoiceOverview, "Schema Export Project", txtSchemaExportProject.Text, "Project Settings"); } else { AddInUtils.InsertListViewItem(lstChoiceOverview, "Generate Schema Export Project", cbCreateSchemaExport.Checked ? "Yes" : "No", "Project Settings"); } if (cbConfigureUnitTestingProject.Checked) { AddInUtils.InsertListViewItem(lstChoiceOverview, "Testing Project", usrTestProject.ProjectName, "Project Settings"); } else { AddInUtils.InsertListViewItem(lstChoiceOverview, "Generate Testing Project", cbConfigureUnitTestingProject.Checked ? "Yes" : "No", "Project Settings"); } if (cbConfigureWebProject.Checked) { AddInUtils.InsertListViewItem(lstChoiceOverview, "Web Project", usrWebProject.ProjectName, "Web Settings"); if (cbConfigureWebCommonProject.Checked) { AddInUtils.InsertListViewItem(lstChoiceOverview, "Web Common Project", usrWebCommonProject.ProjectName, "Web Settings"); } else { AddInUtils.InsertListViewItem(lstChoiceOverview, "Configure Web Common Project", cbConfigureWebCommonProject.Checked ? "Yes" : "No", "Web Settings"); } AddInUtils.InsertListViewItem(lstChoiceOverview, "NHibernate Configuration", cbUseNHibernateConfig.Checked ? "Stored in nhibernate.config" : "Stored in web.config", "Web Settings"); AddInUtils.InsertListViewItem(lstChoiceOverview, "Membership Support", cbAddMembershipSupport.Checked ? "Yes" : "No", "Web Settings"); } else { AddInUtils.InsertListViewItem(lstChoiceOverview, "Configure Web Project", cbConfigureWebProject.Checked ? "Yes" : "No", "Web Settings"); } }