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