private void OnProductModelIllustrationBindingSourceCurrentItemChanged(object sender, System.EventArgs e)
        {
            _currentProductModelIllustration = uxProductModelIllustrationBindingSource.Current as Entities.ProductModelIllustration;

            if (_currentProductModelIllustration != null)
            {
                _currentProductModelIllustration.Validate();
            }
            //_ProductModelIllustration.Validate();
            OnCurrentEntityChanged();
        }
コード例 #2
0
		private void OnProductModelIllustrationBindingSourceCurrentItemChanged(object sender, System.EventArgs e)
		{
			_currentProductModelIllustration = uxProductModelIllustrationBindingSource.Current as Entities.ProductModelIllustration;
			
			if (_currentProductModelIllustration != null)
			{
				_currentProductModelIllustration.Validate();
			}
			//_ProductModelIllustration.Validate();
			OnCurrentEntityChanged();
		}