Пример #1
0
        private void OnStoreContactBindingSourceCurrentItemChanged(object sender, System.EventArgs e)
        {
            _currentStoreContact = uxStoreContactBindingSource.Current as Entities.StoreContact;

            if (_currentStoreContact != null)
            {
                _currentStoreContact.Validate();
            }
            //_StoreContact.Validate();
            OnCurrentEntityChanged();
        }
		private void OnStoreContactBindingSourceCurrentItemChanged(object sender, System.EventArgs e)
		{
			_currentStoreContact = uxStoreContactBindingSource.Current as Entities.StoreContact;
			
			if (_currentStoreContact != null)
			{
				_currentStoreContact.Validate();
			}
			//_StoreContact.Validate();
			OnCurrentEntityChanged();
		}