public NaoRobotManager()
        {
            InitializeComponent();

            this.NaoClient = new ClientNao();
            this.NaoClientVice = new ClientNao();
            this.uiNaoConnetor = new ucNaoConnector(this.NaoClient, this.NaoClientVice);
            this.pnlNaoConnector.Controls.Add(uiNaoConnetor);

            LoadBehaviors();

            EventMap();

            cbbCrgBehaviors.SelectedIndex = 0;
            cbbModulatedBehaviors.SelectedIndex = 0;
            if (rbtnRoboTutor.Checked == false) CurrentBehavior = cbbModulatedBehaviors.Text;
        }
        public ucNaoConnector(ClientNao naoclient, ClientNao naoclientvice = null)
        {
            InitializeComponent();

            string ip = LoadDefaultIPSelection();
            int ind = this.cbbNaoIP.Items.IndexOf(ip);
            if (ind == -1)
            {
                this.cbbNaoIP.Items.Add(ip);
                this.cbbNaoIP.SelectedIndex = this.cbbNaoIP.Items.IndexOf(ip);
            }
            else this.cbbNaoIP.SelectedIndex = ind;

            this.NaoClient = naoclient;
            this.NaoClientVice = naoclientvice;

            // Hide the debug test
            this.btnTest.Hide();
        }