コード例 #1
0
        private void OnShipMethodBindingSourceCurrentItemChanged(object sender, System.EventArgs e)
        {
            _currentShipMethod = uxShipMethodBindingSource.Current as Entities.ShipMethod;

            if (_currentShipMethod != null)
            {
                _currentShipMethod.Validate();
            }
            //_ShipMethod.Validate();
            OnCurrentEntityChanged();
        }
コード例 #2
0
		private void OnShipMethodBindingSourceCurrentItemChanged(object sender, System.EventArgs e)
		{
			_currentShipMethod = uxShipMethodBindingSource.Current as Entities.ShipMethod;
			
			if (_currentShipMethod != null)
			{
				_currentShipMethod.Validate();
			}
			//_ShipMethod.Validate();
			OnCurrentEntityChanged();
		}