public SerialPortSetup(MainConsole main)
        {
            InitializeComponent();
            parent = main;

            radioComCombo.Items.AddRange(SerialPort.GetPortNames());
            antennaComCombo.Items.AddRange(SerialPort.GetPortNames());
            if (SerialPort.GetPortNames().Length > 0)
            {
                radioComCombo.SelectedIndex   = 0;
                antennaComCombo.SelectedIndex = 0;
            }
        }
 public RadioControl(MainConsole p)
 {
     InitializeComponent();
     main = p;
 }