void cboColourExtractions_SelectedIndexChanged(object sender, EventArgs e) { _profile.SetColourExtractionPlugin(cboColourExtractions.SelectedItem.GetType()); PluginsChangedEventArgs args = new PluginsChangedEventArgs(); args.Plugins = new IAfterglowPlugin[] { _profile.CapturePlugin }; OnPluginsChanged(args); }
private void PluginSelectPluginsChanged(object sender, PluginsChangedEventArgs e) { if (e.Plugins != null) { SetChildNodes((from n in _nodeUserControl where n.Value == sender select n.Key).FirstOrDefault(), e.Plugins.ToList<IAfterglowPlugin>()); } else if (e.RefreshProfiles) { AddProfileNodes(); _mainForm.RefreshProfiles(); } }
private new void PluginsChanged() { ((CurrencyManager)lbProfiles.BindingContext[lbProfiles.DataSource]).Refresh(); PluginsChangedEventArgs args = new PluginsChangedEventArgs(); args.RefreshProfiles = true; OnPluginsChanged(args); }
private new void PluginsChanged() { ((CurrencyManager)lbSelected.BindingContext[lbSelected.DataSource]).Refresh(); PluginsChangedEventArgs args = new PluginsChangedEventArgs(); args.Plugins = _profile.OutputPlugins.ToArray(); OnPluginsChanged(args); }