Пример #1
0
 // display stream in hex
 private void OnHexDisplay(object sender, EventArgs e)
 {
     if (Mode == DisplayMode.Image)
     {
         Invalidate();
         DisplayBox.Visible        = true;
         ImageMode                 = false;
         RotateRightButton.Enabled = false;
         RotateLeftButton.Enabled  = false;
     }
     DisplayString             = Reports.ByteArrayToHex(ByteArray);
     DisplayBox.Text           = DisplayString;
     TextDisplayButton.Enabled = true;
     HexDisplayButton.Enabled  = false;
     return;
 }