/// <summary> /// /// </summary> private void uxBindingSource_currentItemChanged(object sender, System.EventArgs e) { if (_SalesPersonQuotaHistory != null) { _SalesPersonQuotaHistory.Validate(); } }
private void OnSalesPersonQuotaHistoryBindingSourceCurrentItemChanged(object sender, System.EventArgs e) { _currentSalesPersonQuotaHistory = uxSalesPersonQuotaHistoryBindingSource.Current as Entities.SalesPersonQuotaHistory; if (_currentSalesPersonQuotaHistory != null) { _currentSalesPersonQuotaHistory.Validate(); } //_SalesPersonQuotaHistory.Validate(); OnCurrentEntityChanged(); }