public PlayerList(User user)
        {
            InitializeComponent();

            this.user = user;

            if (user != null) {
                this.entityManager = new EntityManager(user);
                this.dataManager = new DataManager(user);
                this.entityInterface = new Entities.EntityInterface(user);
                this.players = entityManager.GetPlayersDetails();
            }
        }
Esempio n. 2
0
        public PlayerList(User user)
        {
            InitializeComponent();

            this.user = user;

            if (user != null)
            {
                this.entityManager   = new EntityManager(user);
                this.dataManager     = new DataManager(user);
                this.entityInterface = new Entities.EntityInterface(user);
                this.players         = entityManager.GetPlayersDetails();
            }
        }