/// <summary> /// /// </summary> private void uxBindingSource_currentItemChanged(object sender, System.EventArgs e) { if (_Vendor != null) { _Vendor.Validate(); } }
private void OnVendorBindingSourceCurrentItemChanged(object sender, System.EventArgs e) { _currentVendor = uxVendorBindingSource.Current as Entities.Vendor; if (_currentVendor != null) { _currentVendor.Validate(); } //_Vendor.Validate(); OnCurrentEntityChanged(); }