public BreakpointEditor(AsmProject project)
{
_project = project;
InitializeComponent();
foreach (var file in project.Files.Where(f => f.Type == FileType.Source || f.Type == FileType.Include).OrderBy(f => f.GetRelativePath()))
{
_fileSelect.Items.Add(file);
}
_breakBySourceLine.CheckedChanged += (s, a) => DisableInputs();
_breakBySymbol.CheckedChanged += (s, a) => DisableInputs();
_breakByAddress.CheckedChanged += (s, a) => DisableInputs();
DisableInputs();
Breakpoint = new Breakpoint();
}