/// <summary> /// /// </summary> private void uxBindingSource_currentItemChanged(object sender, System.EventArgs e) { if (_ErrorLog != null) { _ErrorLog.Validate(); } }
private void OnErrorLogBindingSourceCurrentItemChanged(object sender, System.EventArgs e) { _currentErrorLog = uxErrorLogBindingSource.Current as Entities.ErrorLog; if (_currentErrorLog != null) { _currentErrorLog.Validate(); } //_ErrorLog.Validate(); OnCurrentEntityChanged(); }