Beispiel #1
0
 private void setCurrentTab(Tab tab)
 {
     currentTab = tab;
 }
Beispiel #2
0
 //handles tab switching
 private void tabsContainer_Selected(object sender, TabControlEventArgs e)
 {
     currentTab  = tabs.ElementAt(tabsContainer.SelectedIndex);      //set current tab to correct object
     urlBox.Text = currentTab.getUri();                              //update url box
 }