- 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
36 lines
877 B
C#
36 lines
877 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Drawing;
|
|
using System.Data;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Windows.Forms;
|
|
using ANX.ContentCompiler.GUI.Dialogues;
|
|
|
|
namespace ANX.ContentCompiler.GUI.Controls
|
|
{
|
|
public partial class RibbonTextBox : UserControl
|
|
{
|
|
public RibbonTextBox()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
public void AddMessage(string msg)
|
|
{
|
|
List<string> contents = textBox.Lines.ToList();
|
|
contents.Add(msg);
|
|
textBox.Lines = contents.ToArray();
|
|
}
|
|
|
|
private void ButtonDownClick(object sender, EventArgs e)
|
|
{
|
|
using (var dlg = new ErrorLogScreen(textBox.Lines))
|
|
{
|
|
dlg.ShowDialog();
|
|
}
|
|
}
|
|
}
|
|
}
|