------ Solution ---------------------------------------- ----
then you write a for loop , constantly take time , and then bind on the line.
------ Solution ---------------------------------------- ----
best to use thread to do
------ Solution -------------------------- ------------------
DispatcherTimer timer can be used to achieve the requirements
DispatcherTimer ScanTimer = new DispatcherTimer();
ScanTimer .Tick += new EventHandler(Timerscan);
ScanTimer .Interval = new TimeSpan(0, 0, 1);
ScanTimer .Start();
public void timerscan(object sender, EventArgs e)
{
\\\更新时间的显示
}
------ eference ------------------------------------- -
what is dynamic Time ?
------ eference --------------------------------------- < br>
how to achieve similar with electronic clock that automatically go seconds !
automatically refresh the page every second ?
------ eference --------------------------------------- < br> remember to sleep (1000)
or will crash
------ eference -------------------------------- -------
is there stuff like timer events Mody
------ eference ------------- --------------------------
is there stuff like timer events Mody
there ah. dispatchertimer
------ eference --------------------------------------- Thank you for helping
problem has been solved
没有评论:
发表评论