mmplay

mmplay

  • NA
  • 16
  • 0

Invoke Event for the Timer_Tick()

Jan 6 2004 4:51 AM
Hi, there I want to Invoke the UpdateListView() for timer_Tick How to do? Please Help me. Thanks. class TimeThread { private delegate void UpdateListViewDelegate(); private UpdateListViewDelegate updateListViewDelegate; private Timer timer = new Timer() public TimeThread(int interal) { updateListViewDelegate = new UpdateListViewDelegate(UpdateListView); this.timer.Tick += new System.EventHandler(this.Timer_Tick); } public void Run() { timer.Enable = ture; } private void Timer_Tick(object sender, System.EventArgs e) { ??????????????????????????????????? } private void UpdateListView() { ...... My UpdateListView Code Here } }

Answers (1)