I have a program which uses a Timer1_Tick sub. However, I would like to manually configure this Timer in a function.

For example,

Code:
Private Function TestFunc()
    Timer1_Tick(whatever)
    Timer1.Interval = 100
End Function
However, when I try this method, I get an error under Timer1_Tick inside my function which says:

Argument not specified for parameter 'e' of 'Private Sub Timer1_Tick(sender As Object, e As EventArgs)
What am I doing wrong with this?

Note that Timer1_Tick sub is in my code. However, if I remove it, I get an error saying Timer1_Tick isn't declared.
Please comment for any more information.