private void _cmb_algorithm_SelectedIndexChanged(object sender, EventArgs e) { if (_cmb_algorithm.SelectedIndex >= 0) { // Instance a new object from selected type Core.Addins.AddinInfo info = _cmb_algorithm.SelectedItem as Core.Addins.AddinInfo; if (info != null) { _algorithm = Core.Addins.AddinStore.CreateInstance(info) as Core.IImageAlgorithm; _property_grid.SelectedObject = _algorithm; } } }