コード例 #1
0
 private void BtnSelect_Click(object sender, EventArgs e)
 {
     if (WPHbROWDGV.Rows.Count > 0)
     {
         OutReturnSoragebarcodeEdit ose = new OutReturnSoragebarcodeEdit(WPHbROWDGV[1, WPHbROWDGV.CurrentCell.RowIndex].Value.ToString(), 1);
         ose.ShowDialog();
     }
 }
コード例 #2
0
 private void BtnEmploy_Click(object sender, EventArgs e)
 {
     if (WPHbROWDGV.Rows.Count > 0)
     {
         if (WPHbROWDGV[9, WPHbROWDGV.CurrentCell.RowIndex].Value.ToString() != "已审核")
         {
             int ID_ = WPHbROWDGV.CurrentCell.RowIndex;
             OutReturnSoragebarcodeEdit ose = new OutReturnSoragebarcodeEdit(WPHbROWDGV[1, WPHbROWDGV.CurrentCell.RowIndex].Value.ToString(), 0);
             ose.ShowDialog();
             brows();
             WPHbROWDGV.Rows[ID_].Selected = true;
         }
         else
         {
             MessageBox.Show("此单已审核不能领用!!");
         }
     }
 }