예제 #1
0
        private void OnProductPhotoBindingSourceCurrentItemChanged(object sender, System.EventArgs e)
        {
            _currentProductPhoto = uxProductPhotoBindingSource.Current as Entities.ProductPhoto;

            if (_currentProductPhoto != null)
            {
                _currentProductPhoto.Validate();
            }
            //_ProductPhoto.Validate();
            OnCurrentEntityChanged();
        }
		private void OnProductPhotoBindingSourceCurrentItemChanged(object sender, System.EventArgs e)
		{
			_currentProductPhoto = uxProductPhotoBindingSource.Current as Entities.ProductPhoto;
			
			if (_currentProductPhoto != null)
			{
				_currentProductPhoto.Validate();
			}
			//_ProductPhoto.Validate();
			OnCurrentEntityChanged();
		}