コード例 #1
0
        private void OnVendorBindingSourceCurrentItemChanged(object sender, System.EventArgs e)
        {
            _currentVendor = uxVendorBindingSource.Current as Entities.Vendor;

            if (_currentVendor != null)
            {
                _currentVendor.Validate();
            }
            //_Vendor.Validate();
            OnCurrentEntityChanged();
        }
コード例 #2
0
		private void OnVendorBindingSourceCurrentItemChanged(object sender, System.EventArgs e)
		{
			_currentVendor = uxVendorBindingSource.Current as Entities.Vendor;
			
			if (_currentVendor != null)
			{
				_currentVendor.Validate();
			}
			//_Vendor.Validate();
			OnCurrentEntityChanged();
		}