Private i as Integer = 0 Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick Try CBstatus() Catch ex As Exception If i=0 Then msgbox(" pas de donné sur le bus CAN") i=1 End if End Try End Sub
Private i as Integer = 0 Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick Try CBstatus() Catch ex As Exception If i = 0 Then i = 1 msgbox(" pas de donné sur le bus CAN") End if End Try End Sub
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question