Ejemplo n.º 1
0
 private void OnChooseSaveFolder(object sender, EventArgs e)
 {
     if (FolderBrowserDlg.ShowDialog() == DialogResult.OK)
     {
         SavePath.Text = FolderBrowserDlg.SelectedPath;
     }
 }
Ejemplo n.º 2
0
 private void btnConfigDirSel_Click(object sender, EventArgs e)
 {
     FolderBrowserDlg.SelectedPath = txtConfigDir.Text;
     FolderBrowserDlg.Description  = "Select a directory to store configurations.";
     if (FolderBrowserDlg.ShowDialog() == DialogResult.OK)
     {
         txtConfigDir.Text = FolderBrowserDlg.SelectedPath;
     }
 }
Ejemplo n.º 3
0
 private void btnScanServerDataDir_Click(object sender, EventArgs e)
 {
     FolderBrowserDlg.SelectedPath = txtScanSrvDataDir.Text;
     FolderBrowserDlg.Description  = "Select an output directory for ScanServer data.";
     if (FolderBrowserDlg.ShowDialog() == DialogResult.OK)
     {
         txtScanSrvDataDir.Text = FolderBrowserDlg.SelectedPath;
     }
 }