Exemplo n.º 1
0
 /// <summary>
 /// 打开创建新项目的界面
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void App_NewProject_Click(object sender, EventArgs e)
 {
     Forms.Project.NewProject newProject = new Forms.Project.NewProject(true);
     if (newProject.ShowDialog() == DialogResult.OK)
     {
         newProject.Close();
         LoadProjects();//加载项目列表
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// 项目节点-修改名称
 /// Created:20170527(ChengMengjia)
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void toolProRename_Click(object sender, EventArgs e)
 {
     Forms.Project.NewProject newProject = new Forms.Project.NewProject(false);
     if (newProject.ShowDialog() == DialogResult.OK)
     {
         newProject.Close();
         LoadProjects();//加载项目列表
     }
 }