/// <summary>
 ///
 /// </summary>
 private void uxBindingSource_currentItemChanged(object sender, System.EventArgs e)
 {
     if (_BillOfMaterials != null)
     {
         _BillOfMaterials.Validate();
     }
 }
示例#2
0
        private void OnBillOfMaterialsBindingSourceCurrentItemChanged(object sender, System.EventArgs e)
        {
            _currentBillOfMaterials = uxBillOfMaterialsBindingSource.Current as Entities.BillOfMaterials;

            if (_currentBillOfMaterials != null)
            {
                _currentBillOfMaterials.Validate();
            }
            //_BillOfMaterials.Validate();
            OnCurrentEntityChanged();
        }
		private void OnBillOfMaterialsBindingSourceCurrentItemChanged(object sender, System.EventArgs e)
		{
			_currentBillOfMaterials = uxBillOfMaterialsBindingSource.Current as Entities.BillOfMaterials;
			
			if (_currentBillOfMaterials != null)
			{
				_currentBillOfMaterials.Validate();
			}
			//_BillOfMaterials.Validate();
			OnCurrentEntityChanged();
		}