Exemplo n.º 1
0
        private void GotoDialog_Load(object sender, System.EventArgs e)
        {
            // Load settings into Favorites:
            this.favsettings = new FavoritesSettings();
            this.favsettings = (FavoritesSettings)FavoritesSettings.Load(this.favsettings);

            this.listViewFavorites.FillListFromSettings(this.favsettings);
            this.favsettings.places = null; // free space used by places hack

            // Load settings into History:
            this.histsettings = new HistorySettings();
            this.histsettings = (HistorySettings)HistorySettings.Load(this.histsettings);

            this.listViewHistory.FillListFromSettings(this.histsettings);
            this.histsettings.places = null; // free space used by places hack
        }
Exemplo n.º 2
0
      private void GotoDialog_Load(object sender, System.EventArgs e)
      {
         // Load settings into Favorites:
         this.favsettings = new FavoritesSettings();
         this.favsettings = (FavoritesSettings)FavoritesSettings.Load(this.favsettings);

         this.listViewFavorites.FillListFromSettings(this.favsettings);
         this.favsettings.places = null; // free space used by places hack

         // Load settings into History:
         this.histsettings = new HistorySettings();
         this.histsettings = (HistorySettings)HistorySettings.Load(this.histsettings);

         this.listViewHistory.FillListFromSettings(this.histsettings);
         this.histsettings.places = null; // free space used by places hack
      }