private void OnProductVendorBindingSourceCurrentItemChanged(object sender, System.EventArgs e) { _currentProductVendor = uxProductVendorBindingSource.Current as Entities.ProductVendor; if (_currentProductVendor != null) { _currentProductVendor.Validate(); } //_ProductVendor.Validate(); OnCurrentEntityChanged(); }
private void OnProductVendorBindingSourceCurrentItemChanged(object sender, System.EventArgs e) { _currentProductVendor = uxProductVendorBindingSource.Current as Entities.ProductVendor; if (_currentProductVendor != null) { _currentProductVendor.Validate(); } //_ProductVendor.Validate(); OnCurrentEntityChanged(); }