Ejemplo n.º 1
0
        private void OnEmployeePayHistoryBindingSourceCurrentItemChanged(object sender, System.EventArgs e)
        {
            _currentEmployeePayHistory = uxEmployeePayHistoryBindingSource.Current as Entities.EmployeePayHistory;

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