/// <summary> /// /// </summary> private void uxBindingSource_currentItemChanged(object sender, System.EventArgs e) { if (_DatabaseLog != null) { _DatabaseLog.Validate(); } }
private void OnDatabaseLogBindingSourceCurrentItemChanged(object sender, System.EventArgs e) { _currentDatabaseLog = uxDatabaseLogBindingSource.Current as Entities.DatabaseLog; if (_currentDatabaseLog != null) { _currentDatabaseLog.Validate(); } //_DatabaseLog.Validate(); OnCurrentEntityChanged(); }