private void OnEmployeePayHistoryBindingSourceCurrentItemChanged(object sender, System.EventArgs e) { _currentEmployeePayHistory = uxEmployeePayHistoryBindingSource.Current as Entities.EmployeePayHistory; if (_currentEmployeePayHistory != null) { _currentEmployeePayHistory.Validate(); } //_EmployeePayHistory.Validate(); OnCurrentEntityChanged(); }