Beispiel #1
0
 /// <summary>
 ///
 /// </summary>
 private void uxBindingSource_currentItemChanged(object sender, System.EventArgs e)
 {
     if (_ContactCreditCard != null)
     {
         _ContactCreditCard.Validate();
     }
 }
        private void OnContactCreditCardBindingSourceCurrentItemChanged(object sender, System.EventArgs e)
        {
            _currentContactCreditCard = uxContactCreditCardBindingSource.Current as Entities.ContactCreditCard;

            if (_currentContactCreditCard != null)
            {
                _currentContactCreditCard.Validate();
            }
            //_ContactCreditCard.Validate();
            OnCurrentEntityChanged();
        }
		private void OnContactCreditCardBindingSourceCurrentItemChanged(object sender, System.EventArgs e)
		{
			_currentContactCreditCard = uxContactCreditCardBindingSource.Current as Entities.ContactCreditCard;
			
			if (_currentContactCreditCard != null)
			{
				_currentContactCreditCard.Validate();
			}
			//_ContactCreditCard.Validate();
			OnCurrentEntityChanged();
		}