Esempio n. 1
0
 /// <summary>
 ///
 /// </summary>
 private void uxBindingSource_currentItemChanged(object sender, System.EventArgs e)
 {
     if (_SalesTerritoryHistory != null)
     {
         _SalesTerritoryHistory.Validate();
     }
 }
Esempio n. 2
0
        private void OnSalesTerritoryHistoryBindingSourceCurrentItemChanged(object sender, System.EventArgs e)
        {
            _currentSalesTerritoryHistory = uxSalesTerritoryHistoryBindingSource.Current as Entities.SalesTerritoryHistory;

            if (_currentSalesTerritoryHistory != null)
            {
                _currentSalesTerritoryHistory.Validate();
            }
            //_SalesTerritoryHistory.Validate();
            OnCurrentEntityChanged();
        }
		private void OnSalesTerritoryHistoryBindingSourceCurrentItemChanged(object sender, System.EventArgs e)
		{
			_currentSalesTerritoryHistory = uxSalesTerritoryHistoryBindingSource.Current as Entities.SalesTerritoryHistory;
			
			if (_currentSalesTerritoryHistory != null)
			{
				_currentSalesTerritoryHistory.Validate();
			}
			//_SalesTerritoryHistory.Validate();
			OnCurrentEntityChanged();
		}