Esempio n. 1
0
 private void btnAdd_Click(object sender, EventArgs e)
 {
     FormBSInvenTypeInput formInvenTypeInput = new FormBSInvenTypeInput();
     formInvenTypeInput.Tag = "Add"; //添加操作
     formInvenTypeInput.Owner = this;
     formInvenTypeInput.ShowDialog();
 }
Esempio n. 2
0
        private void btnAdd_Click(object sender, EventArgs e)
        {
            FormBSInvenTypeInput formInvenTypeInput = new FormBSInvenTypeInput();

            formInvenTypeInput.Tag   = "Add"; //添加操作
            formInvenTypeInput.Owner = this;
            formInvenTypeInput.ShowDialog();
        }
Esempio n. 3
0
 private void btnUpdate_Click(object sender, EventArgs e)
 {
     if (tvInvenType.SelectedNode != null)
     {
         if (tvInvenType.SelectedNode.Tag != null)
         {
             FormBSInvenTypeInput formInvenTypeInput = new FormBSInvenTypeInput();
             formInvenTypeInput.Tag   = "Edit"; //修改操作
             formInvenTypeInput.Owner = this;
             formInvenTypeInput.ShowDialog();
         }
     }
 }
Esempio n. 4
0
 private void btnUpdate_Click(object sender, EventArgs e)
 {
     if (tvInvenType.SelectedNode != null)
     {
         if (tvInvenType.SelectedNode.Tag != null)
         {
             FormBSInvenTypeInput formInvenTypeInput = new FormBSInvenTypeInput();
             formInvenTypeInput.Tag = "Edit"; //修改操作
             formInvenTypeInput.Owner = this;
             formInvenTypeInput.ShowDialog();
         }
     }
 }