コード例 #1
0
 /// <summary>
 ///
 /// </summary>
 private void uxBindingSource_currentItemChanged(object sender, System.EventArgs e)
 {
     if (_ProductModel != null)
     {
         _ProductModel.Validate();
     }
 }
コード例 #2
0
        private void OnProductModelBindingSourceCurrentItemChanged(object sender, System.EventArgs e)
        {
            _currentProductModel = uxProductModelBindingSource.Current as Entities.ProductModel;

            if (_currentProductModel != null)
            {
                _currentProductModel.Validate();
            }
            //_ProductModel.Validate();
            OnCurrentEntityChanged();
        }
コード例 #3
0
		private void OnProductModelBindingSourceCurrentItemChanged(object sender, System.EventArgs e)
		{
			_currentProductModel = uxProductModelBindingSource.Current as Entities.ProductModel;
			
			if (_currentProductModel != null)
			{
				_currentProductModel.Validate();
			}
			//_ProductModel.Validate();
			OnCurrentEntityChanged();
		}