Ejemplo n.º 1
0
 public Player_Control()
 {
     InitializeComponent();
     SetBorderOfControl();
     SetDefaultOfProperty();
     player_manager = new Player_Manager(null);
 }
Ejemplo n.º 2
0
        private void Create_Player_manager()
        {
            //tạo 1 list để dễ quản lí các play_control , giúp cho việc sắp xếp và nhận dữ liệu dễ hơn
            List<Player_Control> list_player = new List<Player_Control>();
            list_player.Add(player_Control1);
            list_player.Add(player_Control2);
            list_player.Add(player_Control3);
            list_player.Add(player_Control4);

            player = new Player_Manager(list_player);
            player.Start_Save_Info_Thread();
        }
Ejemplo n.º 3
0
        /*INIT*/

        public Send_Manager(TcpClient client, Player_Control player)
        {
            this.Client = client;
            this.Player = player;

            Create_Event_For_Send_Manager();

            Send_Player_InFo();
            Send_Screen_Properties();

            player_manager = new Player_Manager(null);
        }