コード例 #1
0
 /// <summary>
 ///
 /// </summary>
 private void uxBindingSource_currentItemChanged(object sender, System.EventArgs e)
 {
     if (_SpecialOfferProduct != null)
     {
         _SpecialOfferProduct.Validate();
     }
 }
コード例 #2
0
        private void OnSpecialOfferProductBindingSourceCurrentItemChanged(object sender, System.EventArgs e)
        {
            _currentSpecialOfferProduct = uxSpecialOfferProductBindingSource.Current as Entities.SpecialOfferProduct;

            if (_currentSpecialOfferProduct != null)
            {
                _currentSpecialOfferProduct.Validate();
            }
            //_SpecialOfferProduct.Validate();
            OnCurrentEntityChanged();
        }
コード例 #3
0
		private void OnSpecialOfferProductBindingSourceCurrentItemChanged(object sender, System.EventArgs e)
		{
			_currentSpecialOfferProduct = uxSpecialOfferProductBindingSource.Current as Entities.SpecialOfferProduct;
			
			if (_currentSpecialOfferProduct != null)
			{
				_currentSpecialOfferProduct.Validate();
			}
			//_SpecialOfferProduct.Validate();
			OnCurrentEntityChanged();
		}