/// <summary> /// /// </summary> private void uxBindingSource_currentItemChanged(object sender, System.EventArgs e) { if (_ProductVendor != null) { _ProductVendor.Validate(); } }
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(); }