SND\eagleeyestudios_cp 4e875e2115 Content Pipeline:
- Fixed wrong XML parsing in ContentProject at read time

Content Compiler:
- Implemented the ability to add files to a project.
- Implemented showing and renaming properties of BuildItems and ContentProjects
- NewProjectScreen now checks if the project already exists
- Added some TreeViewExtensions
2012-09-01 16:30:35 +00:00

32 lines
824 B
C#

using System;
using System.Windows.Forms;
namespace ANX.ContentCompiler.GUI.States
{
public partial class EditingState : UserControl
{
public EditingState()
{
InitializeComponent();
}
private void EditingStateLoad(object sender, EventArgs e)
{
ForeColor = Settings.ForeColor;
BackColor = Settings.MainColor;
}
private void ArrowButtonAddFilesClick(object sender, EventArgs e)
{
using (var dlg = new OpenFileDialog())
{
dlg.Multiselect = true;
dlg.Title = "Add files";
if (dlg.ShowDialog() == DialogResult.OK)
MainWindow.Instance.AddFiles(dlg.FileNames);
}
}
}
}