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