Exemple #1
0
        private void UpdateLibrary()
        {
            dataGridView3.Rows.Clear();
            List <LibraryGame> libraryGames = SQLManager.GetLibrary(loggedUser);

            foreach (LibraryGame game in libraryGames)
            {
                dataGridView3.Rows.Add(SQLManager.GetGameFromID(game.GID).title, game.hoursPlayed, (game.installed ? "Install" : "Uninstall"));
            }
        }