Interaction logic for UndoCloseGalleryItem.xaml
Inheritance: System.Windows.Controls.UserControl
 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);
   }
 }