Ejemplo n.º 1
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");
            }
        }
Ejemplo n.º 2
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");
            }
        }