private void OnProductPhotoBindingSourceCurrentItemChanged(object sender, System.EventArgs e) { _currentProductPhoto = uxProductPhotoBindingSource.Current as Entities.ProductPhoto; if (_currentProductPhoto != null) { _currentProductPhoto.Validate(); } //_ProductPhoto.Validate(); OnCurrentEntityChanged(); }