private void OnShiftBindingSourceCurrentItemChanged(object sender, System.EventArgs e)
        {
            _currentShift = uxShiftBindingSource.Current as Entities.Shift;

            if (_currentShift != null)
            {
                _currentShift.Validate();
            }
            //_Shift.Validate();
            OnCurrentEntityChanged();
        }
Ejemplo n.º 2
0
		private void OnShiftBindingSourceCurrentItemChanged(object sender, System.EventArgs e)
		{
			_currentShift = uxShiftBindingSource.Current as Entities.Shift;
			
			if (_currentShift != null)
			{
				_currentShift.Validate();
			}
			//_Shift.Validate();
			OnCurrentEntityChanged();
		}