private void btnExampleFiles_Click(object sender, System.EventArgs e)
        {
            DirectoryBrowser dirBrowser = new DirectoryBrowser();

            if (dirBrowser.ShowDialog("Example File Path") == DialogResult.OK)
            {
                ExampleFiles = dirBrowser.DirectoryPath;
            }
        }
Beispiel #2
0
        private void button3_Click(object sender, EventArgs e)
        {
            DialogResult result = DirectoryBrowser.ShowDialog();

            if (result == System.Windows.Forms.DialogResult.OK)
            {
                LocalUpdateDirDisplay.Text = DirectoryBrowser.SelectedPath;
            }
        }
Beispiel #3
0
 bool doSaveExampleFilesPathDialog()
 {
     DirectoryBrowser dirBrowser = new DirectoryBrowser();
     if (dirBrowser.ShowDialog("Example File Path") == DialogResult.OK)
     {
         m_strUserExampleFilesPath = dirBrowser.DirectoryPath;
         return true;
     }
     return false;
 }
 private void btnExampleFiles_Click(object sender, System.EventArgs e)
 {
     DirectoryBrowser dirBrowser = new DirectoryBrowser();
     if (dirBrowser.ShowDialog("Example File Path") == DialogResult.OK)
     {
         ExampleFiles = dirBrowser.DirectoryPath;
     }
 }