Re: Windows Forms General Heavy operation and Windows.Forms.Timer
Minherz
This looks odd because it has nothing to do with machines' time synchronization.
I have an application that receives data from server and the data contains date/time values in the server's time. I have to display a progress of execution in the server in terms of the Local time zone. I do not want to be dependant from the gap in time of the local machine, since noone guarantee me that the machine is synchronized. So, i get a server time in UTC, i get a local time zone and can display now the server time in local time zone's offset. Basing on this value i can display an execution progress.
And as i said before it has nothing to do with my question. The question is very simple. I have heavy communication operation that should be executed modally, blocking UI of menu, toolbar and the rest. I have windows timer ticker which is convenient enough for use and has no overload of opening and closing thread on each restart. I need to do the operation, block UI and do not lose timer ticks (each second) in the case the operation continues longer than 1 second.
Now, if you have any ideas / suggestions / hints then please post. If you have questions why i do it then let's take it out of this thread.