Esempio n. 1
0
        /// <summary>
        /// 修改属性
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void ProductStructMange_BOMPropertyBuild_MaterialPropertyBuild_ModifyProperty_SimpleButton_Click(object sender, EventArgs e)
        {
            var modifyPropertyForm = new BOMAddProperty();

            modifyPropertyForm.Tag      = "modify";
            modifyPropertyForm.property = propertyList.Find(p => p.Id == propertyId);
            modifyPropertyForm.ShowDialog();
        }
Esempio n. 2
0
 /// <summary>
 /// 修改属性
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void ProductStructMange_BOMPropertyBuild_MaterialPropertyBuild_ModifyProperty_SimpleButton_Click(object sender, EventArgs e)
 {
     var modifyPropertyForm = new BOMAddProperty();
     modifyPropertyForm.Tag = "modify";
     modifyPropertyForm.property = propertyList.Find(p => p.Id == propertyId);
     modifyPropertyForm.ShowDialog();
 }
Esempio n. 3
0
        /// <summary>
        /// 添加属性
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void ProductStructMange_BOMPropertyBuild_MaterialPropertyBuild_AddProperty_SimpleButton_Click(object sender, EventArgs e)
        {
            var addPropertyForm = new BOMAddProperty();

            addPropertyForm.ShowDialog();
        }
Esempio n. 4
0
 /// <summary>
 /// 添加属性
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void ProductStructMange_BOMPropertyBuild_MaterialPropertyBuild_AddProperty_SimpleButton_Click(object sender, EventArgs e)
 {
     var addPropertyForm = new BOMAddProperty();
     addPropertyForm.ShowDialog();
 }