private void btnAddProcessor_Click(object sender, EventArgs e) { ProcessorSelectForm sf = new ProcessorSelectForm(); sf.ShowDialog(); if (sf.DialogResult == DialogResult.OK) { foreach (var item in sf.SelectProcessors) { this.Processors.Add(item); } } this.m_contextChanged = true; }
private void btnAddProcessor_Click(object sender, EventArgs e) { ProcessorSelectForm sf = new ProcessorSelectForm(); sf.ShowDialog(); if (sf.DialogResult == DialogResult.OK) { foreach (var item in sf.SelectProcessors) this.Processors.Add(item); } this.m_contextChanged = true; }