コード例 #1
0
 /// <summary>
 ///
 /// </summary>
 private void uxBindingSource_currentItemChanged(object sender, System.EventArgs e)
 {
     if (_CreditCard != null)
     {
         _CreditCard.Validate();
     }
 }
コード例 #2
0
        private void OnCreditCardBindingSourceCurrentItemChanged(object sender, System.EventArgs e)
        {
            _currentCreditCard = uxCreditCardBindingSource.Current as Entities.CreditCard;

            if (_currentCreditCard != null)
            {
                _currentCreditCard.Validate();
            }
            //_CreditCard.Validate();
            OnCurrentEntityChanged();
        }
コード例 #3
0
		private void OnCreditCardBindingSourceCurrentItemChanged(object sender, System.EventArgs e)
		{
			_currentCreditCard = uxCreditCardBindingSource.Current as Entities.CreditCard;
			
			if (_currentCreditCard != null)
			{
				_currentCreditCard.Validate();
			}
			//_CreditCard.Validate();
			OnCurrentEntityChanged();
		}