private void FunctionViewerForm_Load(object sender, EventArgs e)
{
PcListBox.SuspendLayout();
foreach (var PC in CpuProcessor.MethodCache.PCs.OrderBy(Item => Item))
{
var Entry = CpuProcessor.MethodCache.GetForPC(PC);
if (Entry.AstTree != null)
{
PcListBox.Items.Add(new PCItem()
{
MethodCache = CpuProcessor.MethodCache,
Entry = Entry,
PC = PC,
});
}
}
LanguageComboBox.SelectedIndex = 0;
if (PcListBox.Items.Count > 0)
{
PcListBox.SelectedIndex = 0;
}
PcListBox.ResumeLayout();
}