E
eBob.com
My VB.Net app will require a timer of some sort. So I did some
research and decided to use System.Windows.Forms.Timer, I guess mainly
because while I have practically no experience with Events, I have
absolutely no experience will CallBacks.
The only example I've been able to find for this control is in the
Petzold book. It uses the following line of code to instantiate the
timer ...
Dim tmr As New Timer()
But when I enter that line of code, as soon as I move the cursor to
the next line the ()s disappear! I do have an Imports statement for
System.Windows.Forms.Timer.
I suppose I am doing something dumb (I am really new to this stuff)
but I can't imagine what.
I'll appreciate any help or pointers.
Bob
research and decided to use System.Windows.Forms.Timer, I guess mainly
because while I have practically no experience with Events, I have
absolutely no experience will CallBacks.
The only example I've been able to find for this control is in the
Petzold book. It uses the following line of code to instantiate the
timer ...
Dim tmr As New Timer()
But when I enter that line of code, as soon as I move the cursor to
the next line the ()s disappear! I do have an Imports statement for
System.Windows.Forms.Timer.
I suppose I am doing something dumb (I am really new to this stuff)
but I can't imagine what.
I'll appreciate any help or pointers.
Bob