Exemplo n.º 1
0
        //新增
        private void btnADD_Click(object sender, EventArgs e)
        {
            frmYZOrder06 frmYZOrder06 = new frmYZOrder06("ADD", "");

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