private void OnVendorAddressBindingSourceCurrentItemChanged(object sender, System.EventArgs e) { _currentVendorAddress = uxVendorAddressBindingSource.Current as Entities.VendorAddress; if (_currentVendorAddress != null) { _currentVendorAddress.Validate(); } //_VendorAddress.Validate(); OnCurrentEntityChanged(); }