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

  • 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 145
OnDone
This event occurs when decoding is complete.
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.
[Ex.] Read data when decoding complete.
[VB]
Private Sub MyScanner_OnDone(ByVal sender As Object, ByVal e As
System.EventArgs) Handles MyScanner.OnDone
Dim ReadBuf(Scanner.MAX_BAR_LEN) As Byte
MyScanner.Input(ReadBuf, 0, Scanner.ALL_BUFFER)
End Sub
[C#]
private void MyScanner_OnDone(object sender, EventArgs e)
{
byte[] ReadBuf = new byte[Scanner.MAX_BAR_LEN];
MyScanner.Input(ReadBuf, 0, Scanner.ALL_BUFFER);
}
137
Zobrazit stránku 145
1 2 ... 141 142 143 144 145 146 147 148 149 150 151 ... 406 407

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

Žádné komentáře