private void buttonDecodeStk_Click(object sender, EventArgs e) { TableOutputController.Clear(); byte[] bytes = Utils.ConvertInputToByteArray(textBoxInput.Text); if (bytes == null) { TableOutputController.Format("Please input valid hex string"); } else { textBoxInput.Text = BitConverter.ToString(bytes).Replace("-", " "); CatDecoder.Decode(bytes); } dataGridView1.ClearSelection(); }
private void buttonClear_Click(object sender, EventArgs e) { textBoxInput.Clear(); TableOutputController.Clear(); }