コード例 #1
0
        /// <summary>
        /// 新增数据
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btnADD_Click(object sender, EventArgs e)
        {
            frmYZOrder07 frmYZOrder07 = new frmYZOrder07("ADD", "");

            frmYZOrder07.Text = frmYZOrder07.Text;
            frmYZOrder07.Show();
        }
コード例 #2
0
 /// <summary>
 /// 查看数据
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void btnSel_Click(object sender, EventArgs e)
 {
     if (bdsMaster.Current != null)
     {
         frmYZOrder07 frmYZOrder07 = new frmYZOrder07("SEL", ((DataRowView)bdsMaster.Current).Row["ID"].ToString());
         frmYZOrder07.Text = frmYZOrder07.Text;
         frmYZOrder07.Show();
     }
 }
コード例 #3
0
 /// <summary>
 /// 修改数据
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void tsbtnEdit_Click(object sender, EventArgs e)
 {
     if (bdsMaster.Current != null)
     {
         if (getBillState("修改"))
         {
             frmYZOrder07 frmYZOrder07 = new frmYZOrder07("EDIT", ((DataRowView)bdsMaster.Current).Row["ID"].ToString());
             frmYZOrder07.Text = frmYZOrder07.Text;
             frmYZOrder07.Show();
         }
     }
 }