public TgcNetworkingModifierServersDialog(TgcNetworkingModifierControl networkingControl, string clientName)
        {
            InitializeComponent();

            this.networkingControl = networkingControl;
            textBoxClientName.Text = clientName;
        }
        /// <summary>
        ///     Crea el modificador de Networking
        /// </summary>
        /// <param name="varName">Identificador del modifier</param>
        /// <param name="serverName">Nombre default que va a usar el servidor</param>
        /// <param name="clientName">Nombre default que va a usar cada cliente</param>
        /// <param name="port">Puerto en el cual se va a crear y buscar conexiones</param>
        public TGCNetworkingModifier(string varName, string serverName, string clientName, int port)
        {
            InitializeComponent();

            Server            = new TgcSocketServer();
            Client            = new TgcSocketClient();
            this.port         = port;
            clientConnected   = false;
            networkingControl = new TgcNetworkingModifierControl(this, serverName, clientName);
            AvaliableServers  = new List <TgcSocketClient.TgcAvaliableServer>();

            newConnectedClients = new Queue <TgcSocketClientInfo>();
            disconnectedClients = new Queue <TgcSocketClientInfo>();

            //FIXME este modifier no fue migrado a la nueva forma.
            //contentPanel.Controls.Add(networkingControl);
        }
        public TgcNetworkingModifierClientsDialog(TgcNetworkingModifierControl networkingControl)
        {
            InitializeComponent();

            this.networkingControl = networkingControl;
        }