/// <summary> /// /// </summary> private void uxBindingSource_currentItemChanged(object sender, System.EventArgs e) { if (_SalesReason != null) { _SalesReason.Validate(); } }
private void OnSalesReasonBindingSourceCurrentItemChanged(object sender, System.EventArgs e) { _currentSalesReason = uxSalesReasonBindingSource.Current as Entities.SalesReason; if (_currentSalesReason != null) { _currentSalesReason.Validate(); } //_SalesReason.Validate(); OnCurrentEntityChanged(); }