void HandleItemProvidersChanged (object o, ItemProvidersChangedEventArgs args) { RefreshDocklets (); }
void PreferencesItemProvidersChanged (object sender, ItemProvidersChangedEventArgs e) { foreach (AbstractDockItemProvider provider in e.AddedProviders) RegisterItemProvider (provider); foreach (AbstractDockItemProvider provider in e.RemovedProviders) UnregisterItemProvider (provider); UpdateCollectionBuffer (); AnimatedDraw (); }