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