Traslate VB.NET to C#

  • Thread starter Thread starter Juan Irigoyen
  • Start date Start date
J

Juan Irigoyen

Can I traslate this line

Private Scanner As New CScanner(AddressOf HandleNewBarcode)
to C#,

.... Sample of HandleNewBarcode

Private Sub HandleNewBarcode(ByVal Scan As CScanner)

Dim frmSearch As New frmSearching

End Sub
 
private CScanner Scanner = new CScanner(HandleNewBarcode);

private void HandleNewBarcode(ByVal Scan As CScanner)
{
....
}
 
Back
Top