private void btnAddGame_Click(object sender, EventArgs e)
        {
            GamesForm gamesForm = new GamesForm(db);

            gamesForm.GamesChanged += GamesForm_GamesChanged;
            gamesForm.ShowDialog();
        }
        private void btnEdit_Click(object sender, EventArgs e)
        {
            if (dgvMatches.SelectedRows.Count < 1)
            {
                return;
            }
            var       game      = (dynamic)dgvMatches.CurrentRow.DataBoundItem;
            GamesForm gamesForm = new GamesForm(db, game.Id);

            gamesForm.GamesChanged += GamesForm_GamesChanged;
            gamesForm.ShowDialog();
        }