private void NoneButton_Click(object sender, EventArgs e) { exit = false; SerialTempDataDownload conn = new SerialTempDataDownload(); this.Close(); conn.Show(); }
private void SelectPortButton_Click(object sender, EventArgs e) { exit = false; SerialTempDataDownload conn = new SerialTempDataDownload(PortsDropDown.SelectedItem.ToString()); this.Close(); conn.Show(); }