private void OnProductCostHistoryBindingSourceCurrentItemChanged(object sender, System.EventArgs e) { _currentProductCostHistory = uxProductCostHistoryBindingSource.Current as Entities.ProductCostHistory; if (_currentProductCostHistory != null) { _currentProductCostHistory.Validate(); } //_ProductCostHistory.Validate(); OnCurrentEntityChanged(); }