/// <summary> /// Raised the CurrentEntityChanged event. /// </summary> protected void OnCurrentEntityChanged() { if (CurrentEntityChanged != null) { ProductVendorDataGridViewEventArgs args = new ProductVendorDataGridViewEventArgs(); args.ProductVendor = _currentProductVendor; CurrentEntityChanged(this, args); } }