Exemple #1
0
        private void btnSelectRawFileFolder_Click(object sender, EventArgs e)
        {
            FolderBrowserDialog folderBrowserDialog = new FolderBrowserDialog();

            folderBrowserDialog.Description         = "Select the raw files directory";
            folderBrowserDialog.ShowNewFolderButton = false;
            folderBrowserDialog.RootFolder          = Environment.SpecialFolder.MyComputer;
            folderBrowserDialog.SelectedPath        = Configures.GetManualRawMaterialFileDir();

            if (folderBrowserDialog.ShowDialog() == DialogResult.OK)
            {
                tbRawFileFolder.Text = folderBrowserDialog.SelectedPath;
            }
        }
Exemple #2
0
 private void ImportManualDataWindow_Load(object sender, EventArgs e)
 {
     tbRawFileFolder.Text  = Configures.GetManualRawMaterialFileDir();
     tbModelFilePath.Text  = Configures.GetManualModelFilePath();
     tbSearchTermPath.Text = Configures.GetManualSearchTermPath();
 }