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)
{
....
}
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top