Denso BHT-200QW Dokumentacja Strona 347

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 377
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 346
- 345 -
OnDone
Occurs when a COM event has occurred.
Syntax
[VB]
Public Event OnDone As EventHandler
[C#]
public event EventHandler OnDone
Event data
The Event Handler has received EventArgs type parameters.
The second parameter EventArgs e is always System.EventArgs.Empty.
To identify the type of the event that has occurred, retrieve SignaledEvent.
[Ex.] Read out the data when a receive event occurs.
[VB]
Private Sub MyComm_OnDone(ByVal sender As Object, ByVal e As System.EventArgs)
Handles MyComm.OnDone
MyComm.Input(ReadBuf, 0, ReadBuf.Length)
End Sub
[C#]
private void MyComm_OnDone(object sender, EventArgs e)
{
MyComm.Input(ReadBuf, 0, ReadBuf.Length);
}
Przeglądanie stron 346
1 2 ... 342 343 344 345 346 347 348 349 350 351 352 ... 376 377

Komentarze do niniejszej Instrukcji

Brak uwag