在我的表單中我使用事件CustomDrawTimeCell
從我的調度控制一個事件,但我需要每一分鐘,所以我想我必須使用一個Timer
控制執行這種情況下,我的問題是怎麼能我從我的Timer.Tick
事件中調用事件CustomDrawTimeCell
?呼叫從我Timer.Tick事件
編輯
這就是我需要
Private Sub Timer_Tick(sender As Object, e As EventArgs) Handles Timer.Tick
'Call scheduler_CustomDrawTimeCell()
End Sub
Private Sub scheduler_CustomDrawTimeCell(sender As Object, e As CustomDrawObjectEventArgs) Handles scheduler.CustomDrawTimeCell
'My code here
End Sub
對不起我的英語不好。
你問:「如何在控制中提高事件?」或者「我如何從其他事件的包含表單中調用處理程序?」 –
是CustomDrawTimeCell的一些方法嗎? –
告訴我們你的代碼!簡單的描述幾乎不可能做出任何事情。 –