Exemplo n.º 1
0
        private void buttonSend_Click(object sender, EventArgs e)
        {
            this.Hide();
            FormPassword f2 = new FormPassword();

            f2.Show();
            timerChart.Enabled = true;
            serialPort1.WriteLine(textBoxSend.Text);
            textBoxSend.Text = "";
        }
        private void buttonSendValues_Click(object sender, EventArgs e)
        {
            FormPassword f2 = new FormPassword();

            f2.Show();
            string writeString;

            writeString = "writeconf>" + passp + ">" + string.Join(";", InstrumentConfigs);
            serialPort1.WriteLine(writeString);
        }