/// <summary> /// /// </summary> private void uxBindingSource_currentItemChanged(object sender, System.EventArgs e) { if (_ProductProductPhoto != null) { _ProductProductPhoto.Validate(); } }
private void OnProductProductPhotoBindingSourceCurrentItemChanged(object sender, System.EventArgs e) { _currentProductProductPhoto = uxProductProductPhotoBindingSource.Current as Entities.ProductProductPhoto; if (_currentProductProductPhoto != null) { _currentProductProductPhoto.Validate(); } //_ProductProductPhoto.Validate(); OnCurrentEntityChanged(); }
private void OnProductProductPhotoBindingSourceCurrentItemChanged(object sender, System.EventArgs e) { _currentProductProductPhoto = uxProductProductPhotoBindingSource.Current as Entities.ProductProductPhoto; if (_currentProductProductPhoto != null) { _currentProductProductPhoto.Validate(); } //_ProductProductPhoto.Validate(); OnCurrentEntityChanged(); }