/// <summary> /// /// </summary> private void uxBindingSource_currentItemChanged(object sender, System.EventArgs e) { if (_SalesTaxRate != null) { _SalesTaxRate.Validate(); } }
private void OnSalesTaxRateBindingSourceCurrentItemChanged(object sender, System.EventArgs e) { _currentSalesTaxRate = uxSalesTaxRateBindingSource.Current as Entities.SalesTaxRate; if (_currentSalesTaxRate != null) { _currentSalesTaxRate.Validate(); } //_SalesTaxRate.Validate(); OnCurrentEntityChanged(); }