Beispiel #1
0
        private void btnSelect_Click(object sender, EventArgs e)
        {
            SelectProcessors.Clear();
            List <Type> types = ItemSelector.GetSelectValues <Type>();

            foreach (var item in types)
            {
                SelectProcessors.Add(TypeTemplate.Create <IProcessor>(item));
            }
            this.DialogResult = DialogResult.OK;
        }