可用版本1

This commit is contained in:
2022-03-15 10:19:53 +08:00
parent a7cb3885db
commit cb638a0908
28 changed files with 4778 additions and 345 deletions

View File

@ -45,16 +45,28 @@ namespace mainProgram
}
ProjectManager projectManager = new ProjectManager(projectPath);
projectManager.OpenProject();
TransferEvent(projectManager);//触发事件
if(projectManager.OpenProject())
{
TransferEvent(projectManager);//触发事件
MessageBox.Show(this, "工程打开成功!", "提示");
Close();//打开工程完成后,关闭窗口
MessageBox.Show(this, "工程打开成功!", "提示");
this.DialogResult = DialogResult.OK;
Close();//打开工程完成后,关闭窗口
}
else
{
MessageBox.Show(this, "工程打开失败!", "提示");
}
}
private void CancelBtn_Click(object sender, EventArgs e)
{
this.DialogResult = DialogResult.Cancel;
Close();
}
}