private void OnTestProductBindingSourceCurrentItemChanged(object sender, System.EventArgs e) { _currentTestProduct = uxTestProductBindingSource.Current as Entities.TestProduct; if (_currentTestProduct != null) { _currentTestProduct.Validate(); } //_TestProduct.Validate(); OnCurrentEntityChanged(); }