Denso BHT-202Q Uživatelský manuál Strana 369

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 407
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 368
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);
}
360
Zobrazit stránku 368
1 2 ... 364 365 366 367 368 369 370 371 372 373 374 ... 406 407

Komentáře k této Příručce

Žádné komentáře