-1
我需要運行這個序列。我從第3行開始帶來一些錯誤。從我如何看到Xamarin在System.Timers.Time中沒有關鍵字「schedule」的定義,我嘗試用其他方法替換。現在我想也許我忘了任何命名空間,但我不這麼認爲...Monodroid Timer Schedule
private void updateDisplay() {
Timer timer = new Timer();
timer.schedule(new TimerTask() { //row where start the errors
public void run() {
//TextView.Text = count.ToString();
}
},0,1000);
}
我嘗試了幾次,但我每次都失敗了。
預先感謝您!
你需要什麼幫助?你嘗試了什麼?爲什麼/你是如何失敗的? – azurefrog 2014-09-18 16:29:20
@azurefrog我需要運行這個序列。我從第3行開始帶來一些錯誤。從我如何看到Xamarin在System.Timers.Time中沒有關鍵字「schedule」的定義,我嘗試用其他方法替換。現在我想也許我忘記了任何命名空間,但我不這麼認爲...... – Dragos 2014-09-18 16:35:31
@azurefrog我不明白你究竟是什麼意思,但我認爲已經準備好了。 – Dragos 2014-09-18 16:46:08