void Select()
        {
            article = null;
            article = ReadLine();

            int flag = Convert.ToInt32(article);
            ClientConnectControl d = UserC[flag];

            WriteLine(d.ID());

            while (true)
            {
                article = null;
                article = ReadLine();
                switch (article)
                {
                case "back": return;

                case "play": d.codemode(Codemode.play); break;

                case "show": d.codemode(Codemode.sendvolume); break;

                case "stop": d.codemode(Codemode.stop); break;
                }
            }
        }
        void CreateThreadToCheckData()
        {
            deviceList = new DeviceList[Max];
            bool[] UserList = new bool[Max];

            for (int i = 0; i < Max; i++)
            {
                deviceList[i].Live = false;
                UserList[i]        = false;
            }

            while (true)
            {
                for (int i = 0; i < Max; i++)
                {
                    IPList ip = centerManager.iplist[i];
                    if (ip.ID != null)
                    {
                        if (!deviceList[i].Live)
                        {
                            deviceList[i].Live = true;
                            deviceList[i].ID   = i;
                            deviceList[i].Name = centerManager.Data.Devicedata[i].IP;
                            DeviceC[i]         = new DeviceConnectControl(ref centerManager.Data.Devicedata[i], ref centerManager, Max);
                        }
                    }
                    else if (deviceList[i].Live)
                    {
                        deviceList[i].Live = false; Console.WriteLine(centerManager.Data.Devicedata[i].ID);
                    }

                    ip = centerManager.UserList[i];
                    if (ip.ID != null)
                    {
                        if (!UserList[i])
                        {
                            UserList[i] = true;
                            UserC[i]    = new ClientConnectControl(ref centerManager.Data.Userdata[i], ref centerManager, ref cc, Max);
                        }
                    }
                    else if (UserList[i])
                    {
                        UserList[i] = false;
                    }
                }
                Thread.Sleep(100);
            }
        }