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

            formInvenTypeInput.Tag   = "Add"; //添加操作
            formInvenTypeInput.Owner = this;
            formInvenTypeInput.ShowDialog();
        }
예제 #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();
         }
     }
 }
예제 #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();
         }
     }
 }