/// <summary> /// /// </summary> private void uxBindingSource_currentItemChanged(object sender, System.EventArgs e) { if (_ProductInventory != null) { _ProductInventory.Validate(); } }
private void OnProductInventoryBindingSourceCurrentItemChanged(object sender, System.EventArgs e) { _currentProductInventory = uxProductInventoryBindingSource.Current as Entities.ProductInventory; if (_currentProductInventory != null) { _currentProductInventory.Validate(); } //_ProductInventory.Validate(); OnCurrentEntityChanged(); }