Beispiel #1
0
        /// <summary>
        /// Open Library.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void ButtonLibrary_OnClick(object sender, RoutedEventArgs e)
        {
            if (_gameList == null || GameInfo == null)
            {
                _gameList = new GameList();
            }

            FrameCheck(true);

            if (FrameLeft.Content != _gameList)
            {
                FrameLeft.Content = _gameList;
            }
        }
Beispiel #2
0
 public static void RefreshLibrary()
 {
     GameList.RefreshGameList();
 }
Beispiel #3
0
 public GameList()
 {
     InitializeComponent();
     @this = this;
     FillGameList(LoginWindow.UserDatabaseConnector.GetGames());
 }