/// <summary> /// 添加任务文档包 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void btnAddTaskDocumentPackage_Click(object sender, EventArgs e) { var createdocumentpackage = new CreateDocumentPackage(); createdocumentpackage.ShowDialog(); if (createdocumentpackage.outputinformation != null) { outputInformations.Add(createdocumentpackage.outputinformation); gcOutputInformation.DataSource = outputInformations; gcOutputInformation.RefreshDataSource(); } }
/// <summary> /// 添加任务文档包 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void btnAddTaskDocumentPackage_Click(object sender, EventArgs e) { var createdocumentpackage = new CreateDocumentPackage(); createdocumentpackage.ShowDialog(); if (createdocumentpackage.outputinformation != null) { outputInformations.Add(createdocumentpackage.outputinformation); gcOutputInformation.DataSource = outputInformations; gcOutputInformation.RefreshDataSource(); } }