private void OnProductModelBindingSourceCurrentItemChanged(object sender, System.EventArgs e) { _currentProductModel = uxProductModelBindingSource.Current as Entities.ProductModel; if (_currentProductModel != null) { _currentProductModel.Validate(); } //_ProductModel.Validate(); OnCurrentEntityChanged(); }