private void OnEnabledCountChanged () { EventHandler handler = EnabledCountChanged; if (handler != null) { handler (this, EventArgs.Empty); } }