private void buttonDebugPinSetLow_Click(object sender, EventArgs e) { byte pinNum; try { pinNum = Convert.ToByte(textBoxDebugPinSetLow.Text); } catch (Exception) { MessageBox.Show("Insert valid value!"); return; } com.AppendPinSetLow(pinNum); textBoxDebugInstructionPool.Text += "PinSetLow(" + pinNum + ")\r\n"; FormCustomConsole.WriteLine("PinSetLow(" + pinNum + ")"); }