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