i am new to c#, ma y you please help me on how to stop a timer. i created a timer during design time.
i am looking at some sources here and they say i must use
Expand|Select|Wrap|Line Numbers
- timer.stop();
Expand|Select|Wrap|Line Numbers
- "error CS1061: 'System.Windows.Forms.Timer' does not contain a definition for 'stop' and no extension method 'stop' accepting a first argument of type 'System.Windows.Forms.Timer' could be found (are you missing a using directive or an assembly reference?)
- "
Expand|Select|Wrap|Line Numbers
- timer.Enabled = false;
i wanted the timer to stop completely when i click a button on that dialog and i am puttting a
Expand|Select|Wrap|Line Numbers
- timer.enabled = false
thanks in advance