发布网友 发布时间:2022-06-15 09:07
共1个回答
热心网友 时间:2023-10-24 06:28
这里只是提供了画的方法,追答System.Windows.Forms.Timer myTimer = new System.Windows.Forms.Timer();
myTimer.Tick += new EventHandler(TimerEventProcessor);
myTimer.Interval = 500;
myTimer.Start();
// This is the method to run when the timer is raised.
private static void TimerEventProcessor(Object myObject,
EventArgs myEventArgs) {
control.Invalidate();
}