예제 #1
0
        private void btnExampleFiles_Click(object sender, System.EventArgs e)
        {
            DirectoryBrowser dirBrowser = new DirectoryBrowser();

            if (dirBrowser.ShowDialog("Example File Path") == DialogResult.OK)
            {
                ExampleFiles = dirBrowser.DirectoryPath;
            }
        }
예제 #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;
            }
        }
예제 #3
0
 bool doSaveExampleFilesPathDialog()
 {
     DirectoryBrowser dirBrowser = new DirectoryBrowser();
     if (dirBrowser.ShowDialog("Example File Path") == DialogResult.OK)
     {
         m_strUserExampleFilesPath = dirBrowser.DirectoryPath;
         return true;
     }
     return false;
 }
예제 #4
0
 private void btnExampleFiles_Click(object sender, System.EventArgs e)
 {
     DirectoryBrowser dirBrowser = new DirectoryBrowser();
     if (dirBrowser.ShowDialog("Example File Path") == DialogResult.OK)
     {
         ExampleFiles = dirBrowser.DirectoryPath;
     }
 }