Ejemplo n.º 1
0
 private void BtnHandle_Click(object sender, EventArgs e)
 {
     if (WPHbROWDGV.Rows[WPHbROWDGV.CurrentCell.RowIndex].Cells["Type"].Value.ToString() == "处理中")
     {
         int ID_ = WPHbROWDGV.CurrentCell.RowIndex;
         QuestionOrderCadeEdit ete = new QuestionOrderCadeEdit(WPHbROWDGV[0, WPHbROWDGV.CurrentCell.RowIndex].Value.ToString(), 3);
         ete.ShowDialog();
         brows();
         WPHbROWDGV.Rows[ID_].Selected = true;
     }
     else
     {
         MessageBox.Show("该状态不能处理!!");
     }
 }
Ejemplo n.º 2
0
        private void BtnNew_Click(object sender, EventArgs e)
        {
            QuestionOrderCadeEdit qot = new QuestionOrderCadeEdit("", 1);

            qot.ShowDialog();
        }