Ejemplo n.º 1
0
 /// <summary>
 ///
 /// </summary>
 private void uxBindingSource_currentItemChanged(object sender, System.EventArgs e)
 {
     if (_EmployeePayHistory != null)
     {
         _EmployeePayHistory.Validate();
     }
 }
Ejemplo n.º 2
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();
		}