/// <summary> /// /// </summary> private void uxBindingSource_currentItemChanged(object sender, System.EventArgs e) { if (_Location != null) { _Location.Validate(); } }
private void OnLocationBindingSourceCurrentItemChanged(object sender, System.EventArgs e) { _currentLocation = uxLocationBindingSource.Current as Entities.Location; if (_currentLocation != null) { _currentLocation.Validate(); } //_Location.Validate(); OnCurrentEntityChanged(); }