//新增
        private void btnADD_Click(object sender, EventArgs e)
        {
            frmYZOrder01 frmYZOrder01 = new frmYZOrder01("ADD", "");

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