示例#1
0
        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;
        }
示例#2
0
 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;
 }