Beispiel #1
0
        private void dgvApplyInfo_CellMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e)
        {
            frmAppDoneDetail fadd = new frmAppDoneDetail(applicationInfo, CtrlType);

            fadd.ShowDialog();
            this.GetApplicationDetail();
        }
Beispiel #2
0
 private void btnSelect_Click(object sender, EventArgs e)
 {
     if (applicationInfo.CtrlID != null && dgvApplyInfo.CurrentRow != null)
     {
         intSelectRowIndex = dgvApplyInfo.CurrentRow.Index;
         frmAppDoneDetail fadd = new frmAppDoneDetail(applicationInfo, CtrlType);
         fadd.ShowDialog();
         this.GetApplicationDetail();
     }
     else
     {
         MessageBox.Show("请选择一行记录", "消息", MessageBoxButtons.OK, MessageBoxIcon.Warning);
     }
 }