Esempio n. 1
0
 private void dgvApplyInfo_CellMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e)
 {
     if (applicationInfo.TransNo != null)
     {
         frmAppApprovalDetail faad = new frmAppApprovalDetail(applicationInfo, CtrlType);
         if (faad.ShowDialog() == DialogResult.OK)
         {
             this.GetApplicationDetail();
         }
     }
 }
 private void BtnSelect_Click(object sender, EventArgs e)
 {
     if (applicationInfo.TransNo != null)
     {
         frmAppApprovalDetail faad = new frmAppApprovalDetail(applicationInfo, CtrlType);
         if (faad.ShowDialog() == DialogResult.OK)
         {
             this.GetApplicationDetail();
         }
     }
     else
     {
         MessageBox.Show("请选择一行记录", "消息", MessageBoxButtons.OK, MessageBoxIcon.Warning);
     }
 }
Esempio n. 3
0
 private void BtnSelect_Click(object sender, EventArgs e)
 {
     if (applicationInfo.CtrlID != null && dgvApplyInfo.CurrentRow != null)
     {
         intSelectRowIndex = dgvApplyInfo.CurrentRow.Index;
         frmAppApprovalDetail faad = new frmAppApprovalDetail(applicationInfo, CtrlType);
         if (faad.ShowDialog() == DialogResult.OK)
         {
             this.GetApplicationDetail();
         }
         this.GetApplicationDetail();
     }
     else
     {
         MessageBox.Show("请选择一行记录", "消息", MessageBoxButtons.OK, MessageBoxIcon.Warning);
     }
 }