/// <summary> /// /// </summary> private void uxBindingSource_currentItemChanged(object sender, System.EventArgs e) { if (_Shift != null) { _Shift.Validate(); } }
private void OnShiftBindingSourceCurrentItemChanged(object sender, System.EventArgs e) { _currentShift = uxShiftBindingSource.Current as Entities.Shift; if (_currentShift != null) { _currentShift.Validate(); } //_Shift.Validate(); OnCurrentEntityChanged(); }