I keep getting the following message when I run code analysis.
CA1009 : Microsoft.Design : Declare the first parameter of 'xyz.EvaluateEventHandler' as an object named 'sender'
CA1009 : Microsoft.Design : Declare the second parameter of 'xyz.EvaluateEventHandler' as an EventArgs, or an instance of a type that extends EventArgs, named 'e'
How do I pass the variables, but also include sender and e to fix this violation?
'xyx class
Public Event Evaluate(ByVal np As String, ByRef test As Boolean)
RaiseEvent Evaluate(Np, test)
'NpHandler class
AddHandler _xyx.Evaluate, AddressOf Evaluate
Private Sub Evaluate(ByVal np As String, ByRef test As Boolean)
Console.WriteLine(np)
Console.WriteLine(test)
End Sub