结构化读取csv中的光谱数据

This commit is contained in:
2021-12-16 18:40:51 +08:00
parent c0aaf7a897
commit f7306314d5
10 changed files with 442 additions and 37 deletions

View File

@ -19,7 +19,19 @@ namespace mainProgram
private void SelectProjectPathBtn_Click(object sender, EventArgs e)
{
FolderBrowserDialog dialog = new FolderBrowserDialog();
dialog.Description = "请选择工程文件夹";
if (dialog.ShowDialog() == DialogResult.OK)
{
if (string.IsNullOrEmpty(dialog.SelectedPath))
{
MessageBox.Show(this, "文件夹路径不能为空", "提示");
return;
}
string savePath = dialog.SelectedPath;
ProjectPathTextBox.Text = savePath;
}
}
private void OpenProjectPathBtn_Click(object sender, EventArgs e)