L
Lonifasiko
Hello group,
My application, among many other things, checks every 5 minutes if user
has got an urgent appointment or meeting. I use a timer that fires
every 5 minutes and just performs a query agains SQL Mobile 2005
database. If an appointment is found, a warning screen is shown.
in N minutes. When user selects this "repetition" option, I start
another new timer which fires after N minutes selected by the user,
opening a new warning screen and so on.......
Imagine the following situation: user is warned and chooses to postpone
the appointment 10 minutes. After 5 minutes is warned about another
appointment and again decides to put this new appointment off 5
minutes. What does really happen with this two timers I've intialized?
I suppose it's not same timer.
Would be a good idea to use threads for this "warning repetition"
process? Or a separate thread to do all the processing for checking
appointments? Could you please tell me if the approach I'm using (only
timers) is the correct one? What other alternative could I implement?
I do know nothing about threading, I just use a SplashScreen example
that simply runs (Application.Run(SplashScreen())) a new form. Can I
only run forms when threading in CF?
Thanks very much in advance.
My application, among many other things, checks every 5 minutes if user
has got an urgent appointment or meeting. I use a timer that fires
every 5 minutes and just performs a query agains SQL Mobile 2005
database. If an appointment is found, a warning screen is shown.
"cancelled", or he can either select to postpone it and to be remindedFrom this warning screen, user can mark the appointment as "done",
in N minutes. When user selects this "repetition" option, I start
another new timer which fires after N minutes selected by the user,
opening a new warning screen and so on.......
Imagine the following situation: user is warned and chooses to postpone
the appointment 10 minutes. After 5 minutes is warned about another
appointment and again decides to put this new appointment off 5
minutes. What does really happen with this two timers I've intialized?
I suppose it's not same timer.
Would be a good idea to use threads for this "warning repetition"
process? Or a separate thread to do all the processing for checking
appointments? Could you please tell me if the approach I'm using (only
timers) is the correct one? What other alternative could I implement?
I do know nothing about threading, I just use a SplashScreen example
that simply runs (Application.Run(SplashScreen())) a new form. Can I
only run forms when threading in CF?
Thanks very much in advance.