Interaction logic for NameTabList.xaml
Inheritance: System.Windows.Window
Exemple #1
0
        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");
            }
        }
Exemple #2
0
        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");
            }
        }
        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");
            }
        }
Exemple #4
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");
            }
        }
Exemple #5
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");
            }
        }
		public static String Open(Window Owner) {
			var f = new NameTabList();
			f.Owner = Owner;
			f.ShowDialog();

			if (f.dialogresult) {
				return f.textBox1.Text;
			}
			else {
				return null;
			}
		}
Exemple #7
0
        public static String Open(Window Owner)
        {
            var f = new NameTabList();

            f.Owner = Owner;
            f.ShowDialog();

            if (f.dialogresult)
            {
                return(f.textBox1.Text);
            }
            else
            {
                return(null);
            }
        }