public void SetCurrentObject(object obj, object[] propertyProviders) { if (this.currentObject == obj) return; this.currentObject = obj; this.propertyProviders = propertyProviders; UpdateTabs (); Populate(); }