Is it possible to create a custom TmrDie_Tick event?
I tried this
Secondly in the form load event I have the following statement
What am I missing here, is there a way to create my custom timer die tick handler for PcTmrDie.Tick with custom arguments? Any help will be much appreciated. Thank you so much in advanced.
I tried this
Because I want custom mouse event args with x,y coordinates that's why I use e2 variable. I am getting error BC31029 Method 'NewPcTmrDie_Tick' cannot handle event 'Tick' because they do not have a compatible signature.Public Sub NewPcTmrDie_Tick(ByVal sender As System.Object, ByVal e As EventArgs, ByVal e2 As System.Windows.Forms.MouseEventArgs) Handles PcTmrDie.Tick
....
End Sub
Secondly in the form load event I have the following statement
With the following error, Error BC31143 Method 'Public Sub NewPcTmrDie_Tick(sender As Object, e As EventArgs, ByRef e2 As MouseEventArgs)' does not have a signature compatible with delegate 'Delegate Sub EventHandler(sender As Object, e As EventArgs)'.AddHandler PcTmrDie.Tick, AddressOf My.Forms.Backgammon.NewPcTmrDie_Tick
What am I missing here, is there a way to create my custom timer die tick handler for PcTmrDie.Tick with custom arguments? Any help will be much appreciated. Thank you so much in advanced.