Пример #1
0
        private void NoneButton_Click(object sender, EventArgs e)
        {
            exit = false;

            Main conn = new Main();
            this.Close();
            conn.Show();
        }
Пример #2
0
        private void SelectPortButton_Click(object sender, EventArgs e)
        {
            exit = false;

            Main conn = new Main(PortsDropDown.SelectedItem.ToString());            
            this.Close();
            conn.Show();
        }