Пример #1
0
        private void TemplateChoice_Click(object sender, RoutedEventArgs e)
        {
            DialogSelectFolder SelectFolder = new DialogSelectFolder();

            SelectFolder.ShowDialog();
            TemplatePath.Text = csPathToFolder.PathOfSelectedFolder;
        }
Пример #2
0
 private void BtnSelectDataPath_Click(object sender, EventArgs e)
 {
     DialogSelectFolder.SelectedPath = TxtDataPath.Text;
     if (DialogSelectFolder.ShowDialog() != DialogResult.Cancel)
     {
         TxtDataPath.Text = DialogSelectFolder.SelectedPath;
     }
 }
Пример #3
0
        private void buttonFolder_Click(object sender, RoutedEventArgs e)
        {
            DialogSelectFolder SelectFolder = new DialogSelectFolder();

            SelectFolder.ShowDialog();
            FormFolder.Text = csPathToFolder.PathOfSelectedFolder;
            SelectFolder.Close();
        }