frmLatViewer.vb 679 B

1234567891011121314151617181920
  1. Public Class frmLatViewer
  2. Public bytes() As Byte
  3. Public Sub PassBytes(ByVal _bytes() As byte)
  4. bytes = _bytes
  5. End Sub
  6. Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
  7. Me.Close
  8. End Sub
  9. Private Sub frmLatViewer_Shown(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Shown
  10. Me.tbLatViewer.Text = "Transfer Complete. Loading array into this viewer..."
  11. Application.DoEvents
  12. Me.lblBytesCount.Text = "Bytes in this message: " & bytes.Length.ToString()
  13. Me.tbLatViewer.Text = TcpComm.Utilities.BytesToString(bytes)
  14. End Sub
  15. End Class