using System; using System.Windows.Forms; namespace ANX.ContentCompiler.GUI.Dialogues { public partial class NewProjectSummaryScreen : Form { public NewProjectSummaryScreen(String projectName, String projectDir, String outputDir, bool customImporters, String customImportersDir, int customImportersFound, int customProcessorsFound) { InitializeComponent(); SetUpColors(); textBox.Text = "Summary for new project " + projectName + Environment.NewLine + "=========================================" + Environment.NewLine + "Name: " + projectName + Environment.NewLine + "Media Directory: " + projectDir + Environment.NewLine + Environment.NewLine + "Output Directory: " + outputDir + Environment.NewLine + Environment.NewLine + "Custom Importers/Processors: " + customImporters + Environment.NewLine; if (customImporters) { textBox.Text += "Custom Importers/Processors Location: " + customImportersDir + Environment.NewLine + Environment.NewLine + "Importers/Processors found in given Location:" + Environment.NewLine + "Importers: " + customImportersFound + Environment.NewLine + "Processors: " + customProcessorsFound; } } private void SetUpColors() { BackColor = Settings.MainColor; ForeColor = Settings.ForeColor; buttonClose.FlatAppearance.MouseOverBackColor = Settings.LightMainColor; buttonNext.FlatAppearance.MouseOverBackColor = Settings.LightMainColor; buttonClose.FlatAppearance.MouseDownBackColor = Settings.AccentColor3; buttonNext.FlatAppearance.MouseDownBackColor = Settings.AccentColor3; buttonNext.FlatAppearance.BorderColor = Settings.LightMainColor; buttonClose.FlatAppearance.BorderColor = Settings.LightMainColor; textBox.BackColor = Settings.DarkMainColor; textBox.ForeColor = Settings.ForeColor; } private void ButtonNextClick(object sender, EventArgs e) { DialogResult = DialogResult.OK; } } }