예제 #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;
        }
예제 #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;
        }
예제 #3
0
        public CombatLogUserControl()
        {
            InitializeComponent();

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

            usersDataGrid.Update();
            usersDataGrid.DataSource = combatLogList;
        }
예제 #4
0
        public CombatLogUserControl()
        {
            InitializeComponent();

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

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