Exemple #1
0
 private void btnWriteBytes_Click(object sender, EventArgs e)
 {
     txtBytesOut.Clear();
     string[] s = tub.ReadBytes(txtBytesIn.Lines);
     if (s == null)
     {
         MessageBox.Show("Input format error: make sure there are no spaces and use only 2 digit hexidecimals.");
     }
     else
     {
         txtBytesOut.Lines = s;
     }
 }