结构化读取csv中的光谱数据
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user