LoadData() public method

public LoadData ( BetterExplorer.NavigationLog log ) : void
log BetterExplorer.NavigationLog
return void
 private void btnUndoClose_DropDownOpened(object sender, EventArgs e)
 {
     rotGallery.Items.Clear();
     foreach (NavigationLog item in reopenabletabs)
     {
         UndoCloseGalleryItem gli = new UndoCloseGalleryItem();
         gli.LoadData(item);
         gli.Click += new UndoCloseGalleryItem.NavigationLogEventHandler(gli_Click);
         rotGallery.Items.Add(gli);
     }
 }
Esempio n. 2
0
 private void btnUndoClose_DropDownOpened(object sender, EventArgs e) {
   rotGallery.Items.Clear();
   foreach (NavigationLog item in tcMain.ReopenableTabs) {
     var gli = new UndoCloseGalleryItem();
     gli.LoadData(item);
     gli.Click += gli_Click;
     rotGallery.Items.Add(gli);
   }
 }