コード例 #1
0
        private void button7_Click(object sender, RoutedEventArgs e)
        {
            var Entered_Name = NameTabList.Open(this);

            if (Entered_Name != null)
            {
                SavedTabsList.SaveTabList(tabListEditor1.ExportSavedTabList(), GetSavedTabsLocation() + Entered_Name + ".txt");
                RefreshListAndLoad(sstdir + Entered_Name + ".txt");
            }
        }
コード例 #2
0
        private void button4_Click(object sender, RoutedEventArgs e)
        {
            var Entered_Name = NameTabList.Open(this);

            if (Entered_Name != null)
            {
                SavedTabsList.SaveTabList(SavedTabsList.CreateFromString(GetDefaultLocation()), GetSavedTabsLocation() + Entered_Name + ".txt");
                RefreshListAndLoad(sstdir + Entered_Name + ".txt");
            }
        }
コード例 #3
0
        private void button7_Click(object sender, RoutedEventArgs e)
        {
            NameTabList o = new NameTabList();

            o.ShowDialog();
            if (o.dialogresult == true)
            {
                SavedTabsList.SaveTabList(tabListEditor1.ExportSavedTabList(), GetSavedTabsLocation() + o.textBox1.Text + ".txt");
                RefreshListAndLoad(sstdir + o.textBox1.Text + ".txt");
            }
        }
コード例 #4
0
        private void button4_Click(object sender, RoutedEventArgs e)
        {
            NameTabList o = new NameTabList();

            o.ShowDialog();
            if (o.dialogresult == true)
            {
                SavedTabsList.SaveTabList(SavedTabsList.CreateFromString(GetDefaultLocation()), GetSavedTabsLocation() + o.textBox1.Text + ".txt");
                RefreshListAndLoad(sstdir + o.textBox1.Text + ".txt");
            }
        }
コード例 #5
0
 private void button3_Click(object sender, RoutedEventArgs e)
 {
     SavedTabsList.SaveTabList(tabListEditor1.ExportSavedTabList(), selfile);
     tabListEditor1.ImportSavedTabList(SavedTabsList.LoadTabList(selfile));
 }