예제 #1
0
        /// <summary>
        /// 添加零件
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btnPartsAdd_Click(object sender, EventArgs e)
        {
            // 添加零件
            AssociatedParts parts = new AssociatedParts();

            if (DialogResult.OK == parts.ShowDialog())
            {
                // 添加零部件成功!
            }
        }
예제 #2
0
 /// <summary>
 /// 添加零件
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void btnPartsAdd_Click(object sender, EventArgs e)
 {
     // 添加零件
     AssociatedParts parts = new AssociatedParts();
     if (DialogResult.OK == parts.ShowDialog())
     {
         // 添加零部件成功!
     }
 }