Esempio n. 1
0
        /// <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();
            }
        }
Esempio n. 2
0
 /// <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();
     }
 }