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