예제 #1
0
 /// <summary>
 ///
 /// </summary>
 private void uxBindingSource_currentItemChanged(object sender, System.EventArgs e)
 {
     if (_CustomerAddress != null)
     {
         _CustomerAddress.Validate();
     }
 }
        private void OnCustomerAddressBindingSourceCurrentItemChanged(object sender, System.EventArgs e)
        {
            _currentCustomerAddress = uxCustomerAddressBindingSource.Current as Entities.CustomerAddress;

            if (_currentCustomerAddress != null)
            {
                _currentCustomerAddress.Validate();
            }
            //_CustomerAddress.Validate();
            OnCurrentEntityChanged();
        }
		private void OnCustomerAddressBindingSourceCurrentItemChanged(object sender, System.EventArgs e)
		{
			_currentCustomerAddress = uxCustomerAddressBindingSource.Current as Entities.CustomerAddress;
			
			if (_currentCustomerAddress != null)
			{
				_currentCustomerAddress.Validate();
			}
			//_CustomerAddress.Validate();
			OnCurrentEntityChanged();
		}