Ejemplo n.º 1
0
        private void OnSalesOrderHeaderSalesReasonBindingSourceCurrentItemChanged(object sender, System.EventArgs e)
        {
            _currentSalesOrderHeaderSalesReason = uxSalesOrderHeaderSalesReasonBindingSource.Current as Entities.SalesOrderHeaderSalesReason;

            if (_currentSalesOrderHeaderSalesReason != null)
            {
                _currentSalesOrderHeaderSalesReason.Validate();
            }
            //_SalesOrderHeaderSalesReason.Validate();
            OnCurrentEntityChanged();
        }
		private void OnSalesOrderHeaderSalesReasonBindingSourceCurrentItemChanged(object sender, System.EventArgs e)
		{
			_currentSalesOrderHeaderSalesReason = uxSalesOrderHeaderSalesReasonBindingSource.Current as Entities.SalesOrderHeaderSalesReason;
			
			if (_currentSalesOrderHeaderSalesReason != null)
			{
				_currentSalesOrderHeaderSalesReason.Validate();
			}
			//_SalesOrderHeaderSalesReason.Validate();
			OnCurrentEntityChanged();
		}