private void pictureBox1_Click(object sender, EventArgs e) // Integral { var integralPage = new integral(); integralPage.setSerialPort(serialPort1, serialPort2); integralPage.Show(); }
private void label1_Click_2(object sender, EventArgs e) { var integralPage = new integral(); integralPage.setSerialPort(serialPort1, serialPort2); integralPage.Show(); }