SND\eagleeyestudios_cp 9b842c7fd8 Content Compiler:
- Fixed some resource issues
- Implemented RecentProjects Feature
- Implemented build process
- Added a Logger implementation for BuildContent Class
- Added a displayable log to the MainWindow UI
- Fixed a bug that occured when adding files to the content root
- Trying to open a not existing project no longer throws an exception

ContentPipeline:
- Added missing property "Profile" to ContentProject
2012-09-09 15:44:49 +00:00

42 lines
1.5 KiB
C#

using System;
using System.IO;
using System.Windows.Forms;
namespace ANX.ContentCompiler.GUI.Dialogues
{
public partial class ErrorLogScreen : Form
{
public ErrorLogScreen(string[] errorLog)
{
InitializeComponent();
SetUpColors();
textBox.Lines = errorLog;
}
private void SetUpColors()
{
BackColor = Settings.MainColor;
ForeColor = Settings.ForeColor;
button3.FlatAppearance.MouseOverBackColor = Settings.LightMainColor;
buttonCancel.FlatAppearance.MouseOverBackColor = Settings.LightMainColor;
buttonNext.FlatAppearance.MouseOverBackColor = Settings.LightMainColor;
button3.FlatAppearance.MouseDownBackColor = Settings.AccentColor3;
buttonCancel.FlatAppearance.MouseDownBackColor = Settings.AccentColor3;
buttonNext.FlatAppearance.MouseDownBackColor = Settings.AccentColor3;
buttonNext.FlatAppearance.BorderColor = Settings.LightMainColor;
button3.FlatAppearance.BorderColor = Settings.LightMainColor;
buttonCancel.FlatAppearance.BorderColor = Settings.LightMainColor;
}
private void ButtonNextClick(object sender, EventArgs e)
{
DialogResult = DialogResult.OK;
}
private void ButtonCancelClick(object sender, EventArgs e)
{
Clipboard.SetText(textBox.Text);
buttonCancel.Text = "Copied.";
}
}
}