private void btnSend_Click(object sender, EventArgs e) { serialPort1.Write(txtSendString.Text); serialPort1.Write("\n"); txtSendString.SelectAll(); }