Click here to Skip to main content
15,886,026 members
Home / Discussions / C#
   

C#

 
GeneralRe: comment utiliser le MultiColumnComb de Janus WinForms Controls? Pin
asma0724-Sep-09 3:51
asma0724-Sep-09 3:51 
QuestionUsing too many timers in a program Pin
teknolog12324-Sep-09 0:50
teknolog12324-Sep-09 0:50 
AnswerRe: Using too many timers in a program Pin
OriginalGriff24-Sep-09 1:05
mveOriginalGriff24-Sep-09 1:05 
GeneralRe: Using too many timers in a program Pin
teknolog12324-Sep-09 2:07
teknolog12324-Sep-09 2:07 
GeneralRe: Using too many timers in a program Pin
OriginalGriff24-Sep-09 2:31
mveOriginalGriff24-Sep-09 2:31 
AnswerRe: Using too many timers in a program Pin
Luc Pattyn24-Sep-09 1:28
sitebuilderLuc Pattyn24-Sep-09 1:28 
GeneralRe: Using too many timers in a program Pin
teknolog12324-Sep-09 1:56
teknolog12324-Sep-09 1:56 
GeneralRe: Using too many timers in a program Pin
Luc Pattyn24-Sep-09 2:17
sitebuilderLuc Pattyn24-Sep-09 2:17 
Hi,

myTimer.Tick+=new EventHandler(t_Tick);
// or the short syntax, since .NET 2.0:
myTimer.Tick+=myFirstHandler;
myTimer.Tick+=mySecondHandler;
...
myTimer.Tick+=myTenthHandler;



teknolog123 wrote:
the timer will increase the price and time every x minutes,


and that is why it ticks at 100 msec intervals??


teknolog123 wrote:
When I use intervals like x minutes, It doesn't update the form right away


So you did something wrong in the implementation. That's no reason to alter your design.


I'll stick with a single timer, and have it run every 1 or 10 seconds or so. And I'd make sure all the forms show up-to-date information all the time.

Smile | :)

Luc Pattyn

Local announcement (Antwerp region): Lange Wapper? Neen!


GeneralRe: Using too many timers in a program Pin
Tom Deketelaere24-Sep-09 2:45
professionalTom Deketelaere24-Sep-09 2:45 
GeneralRe: Using too many timers in a program Pin
Luc Pattyn24-Sep-09 2:54
sitebuilderLuc Pattyn24-Sep-09 2:54 
GeneralRe: Using too many timers in a program Pin
Tom Deketelaere24-Sep-09 2:57
professionalTom Deketelaere24-Sep-09 2:57 
GeneralRe: Using too many timers in a program Pin
Luc Pattyn24-Sep-09 3:15
sitebuilderLuc Pattyn24-Sep-09 3:15 
GeneralRe: Using too many timers in a program Pin
Tom Deketelaere24-Sep-09 3:19
professionalTom Deketelaere24-Sep-09 3:19 
GeneralRe: Using too many timers in a program Pin
Luc Pattyn24-Sep-09 3:29
sitebuilderLuc Pattyn24-Sep-09 3:29 
AnswerRe: Using too many timers in a program Pin
Keith Barrow24-Sep-09 2:26
professionalKeith Barrow24-Sep-09 2:26 
GeneralRe: Using too many timers in a program Pin
Luc Pattyn24-Sep-09 2:56
sitebuilderLuc Pattyn24-Sep-09 2:56 
GeneralRe: Using too many timers in a program Pin
teknolog12324-Sep-09 6:54
teknolog12324-Sep-09 6:54 
QuestionCalling method from C++ ocx Pin
Q2A23-Sep-09 23:59
Q2A23-Sep-09 23:59 
AnswerRe: Calling method from C++ ocx Pin
Christian Graus24-Sep-09 0:42
protectorChristian Graus24-Sep-09 0:42 
AnswerRe: Calling method from C++ ocx Pin
Luc Pattyn24-Sep-09 0:46
sitebuilderLuc Pattyn24-Sep-09 0:46 
AnswerRe: Calling method from C++ ocx [modified] Pin
Hristo-Bojilov24-Sep-09 0:54
Hristo-Bojilov24-Sep-09 0:54 
QuestionControl.BeginInvoke() Pin
kmb8923-Sep-09 23:53
kmb8923-Sep-09 23:53 
AnswerRe: Control.BeginInvoke() Pin
N a v a n e e t h24-Sep-09 0:05
N a v a n e e t h24-Sep-09 0:05 
AnswerRe: Control.BeginInvoke() Pin
PIEBALDconsult24-Sep-09 18:10
mvePIEBALDconsult24-Sep-09 18:10 
QuestionFileNotFoundException on file that exists! Pin
Thomas ST23-Sep-09 23:50
Thomas ST23-Sep-09 23:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.