Exemplo n.º 1
0
 /// <summary>
 /// 添加零部件设计包
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void btnAddPartDesignPackage_Click(object sender, EventArgs e)
 {
     var partsdesignpackage = new AddPartsDesignPackage();
     partsdesignpackage.ShowDialog();
     if (partsdesignpackage.outputInformation != null)
     {
         outputInformations.Add(partsdesignpackage.outputInformation);
         gcOutputInformation.DataSource = outputInformations;
         gcOutputInformation.RefreshDataSource();
     }
 }
Exemplo n.º 2
0
        /// <summary>
        /// 添加零部件设计包
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btnAddPartDesignPackage_Click(object sender, EventArgs e)
        {
            var partsdesignpackage = new AddPartsDesignPackage();

            partsdesignpackage.ShowDialog();
            if (partsdesignpackage.outputInformation != null)
            {
                outputInformations.Add(partsdesignpackage.outputInformation);
                gcOutputInformation.DataSource = outputInformations;
                gcOutputInformation.RefreshDataSource();
            }
        }