Esempio n. 1
0
        public CombatLogUserControl(object par)
        {
            InitializeComponent();

            repos         = new CombatLogRepository();
            combatLogList = repos.GetAll().Where(x => x.PlayerId == (int)par).ToList();

            usersDataGrid.Update();
            usersDataGrid.DataSource = combatLogList;
        }
Esempio n. 2
0
        public CombatLogUserControl(object par)
        {
            InitializeComponent();

            repos = new CombatLogRepository();
            combatLogList = repos.GetAll().Where(x => x.PlayerId == (int)par) .ToList();

            usersDataGrid.Update();
            usersDataGrid.DataSource = combatLogList;
        }
Esempio n. 3
0
        public CombatLogUserControl()
        {
            InitializeComponent();

            repos         = new CombatLogRepository();
            combatLogList = repos.GetAll().ToList();

            usersDataGrid.Update();
            usersDataGrid.DataSource = combatLogList;
        }
Esempio n. 4
0
        public CombatLogUserControl()
        {
            InitializeComponent();

            repos = new CombatLogRepository();
            combatLogList = repos.GetAll().ToList();

            usersDataGrid.Update();
            usersDataGrid.DataSource = combatLogList;
        }