コード例 #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();
        }