/// <summary> /// /// </summary> private void uxBindingSource_currentItemChanged(object sender, System.EventArgs e) { if (_SpecialOfferProduct != null) { _SpecialOfferProduct.Validate(); } }
private void OnSpecialOfferProductBindingSourceCurrentItemChanged(object sender, System.EventArgs e) { _currentSpecialOfferProduct = uxSpecialOfferProductBindingSource.Current as Entities.SpecialOfferProduct; if (_currentSpecialOfferProduct != null) { _currentSpecialOfferProduct.Validate(); } //_SpecialOfferProduct.Validate(); OnCurrentEntityChanged(); }