Example #1
0
        //新增
        private void btnADD_Click(object sender, EventArgs e)
        {
            frmYZOrder11 frmYZOrder11 = new frmYZOrder11("ADD", "");

            frmYZOrder11.Text = frmYZOrder11.Text;
            frmYZOrder11.Show();
        }
Example #2
0
 //查看
 private void btnSel_Click(object sender, EventArgs e)
 {
     if (bdsMaster.Current != null)
     {
         frmYZOrder11 frmYZOrder11 = new frmYZOrder11("SEL", ((DataRowView)bdsMaster.Current).Row["ID"].ToString());
         frmYZOrder11.Text = frmYZOrder11.Text;
         frmYZOrder11.Show();
     }
 }
Example #3
0
 //修改
 private void tsbtnEdit_Click(object sender, EventArgs e)
 {
     if (bdsMaster.Current != null)
     {
         if (getBillState("修改"))
         {
             frmYZOrder11 frmYZOrder11 = new frmYZOrder11("EDIT", ((DataRowView)bdsMaster.Current).Row["ID"].ToString());
             frmYZOrder11.Text = frmYZOrder11.Text;
             frmYZOrder11.Show();
         }
     }
 }