/// <summary>
 ///
 /// </summary>
 private void uxBindingSource_currentItemChanged(object sender, System.EventArgs e)
 {
     if (_ProductModelIllustration != null)
     {
         _ProductModelIllustration.Validate();
     }
 }
        private void OnProductModelIllustrationBindingSourceCurrentItemChanged(object sender, System.EventArgs e)
        {
            _currentProductModelIllustration = uxProductModelIllustrationBindingSource.Current as Entities.ProductModelIllustration;

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