private void button7_Click(object sender, RoutedEventArgs e) { var Entered_Name = NameTabList.Open(this); if (Entered_Name != null) { SaveTabs.SaveTabList(tabListEditor1.ExportSavedTabList(), Settings.BESettings.SavedTabsDirectory + Entered_Name + ".txt"); RefreshListAndLoad(sstdir + Entered_Name + ".txt"); } }
private void button4_Click(object sender, RoutedEventArgs e) { var Entered_Name = NameTabList.Open(this); if (Entered_Name != null) { SaveTabs.SaveTabList(SaveTabs.CreateFromString(Settings.BESettings.StartupLocation), Settings.BESettings.SavedTabsDirectory + Entered_Name + ".txt"); RefreshListAndLoad(sstdir + Settings.BESettings.SavedTabsDirectory + ".txt"); } }
void gli_Click(object sender, Tuple <string> e) { foreach (SavedTabsListGalleryItem item in stackPanel1.Children) { item.SetDeselected(); } (sender as SavedTabsListGalleryItem).SetSelected(); tabListEditor1.ImportSavedTabList(SaveTabs.LoadTabList(Settings.BESettings.SavedTabsDirectory + e.Item1 + ".txt")); selfile = Settings.BESettings.SavedTabsDirectory + e.Item1 + ".txt"; }
private void button3_Click(object sender, RoutedEventArgs e) { SaveTabs.SaveTabList(tabListEditor1.ExportSavedTabList(), selfile); tabListEditor1.ImportSavedTabList(SaveTabs.LoadTabList(selfile)); }