Пример #1
0
        private void OnIllustrationBindingSourceCurrentItemChanged(object sender, System.EventArgs e)
        {
            _currentIllustration = uxIllustrationBindingSource.Current as Entities.Illustration;

            if (_currentIllustration != null)
            {
                _currentIllustration.Validate();
            }
            //_Illustration.Validate();
            OnCurrentEntityChanged();
        }
		private void OnIllustrationBindingSourceCurrentItemChanged(object sender, System.EventArgs e)
		{
			_currentIllustration = uxIllustrationBindingSource.Current as Entities.Illustration;
			
			if (_currentIllustration != null)
			{
				_currentIllustration.Validate();
			}
			//_Illustration.Validate();
			OnCurrentEntityChanged();
		}