예제 #1
0
 private void dgvApplyInfo_CellMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e)
 {
     if (applicationInfo.TransNo != null)
     {
         frmAppApprovalDetail2 faad2 = new frmAppApprovalDetail2(applicationInfo, CtrlType);
         if (faad2.ShowDialog() == DialogResult.OK)
         {
             this.GetApplicationDetail();
         }
     }
 }
예제 #2
0
 private void BtnSelect_Click(object sender, EventArgs e)
 {
     if (applicationInfo.TransNo != null)
     {
         frmAppApprovalDetail2 faad = new frmAppApprovalDetail2(applicationInfo, CtrlType);
         if (faad.ShowDialog() == DialogResult.OK)
         {
             this.GetApplicationDetail();
         }
     }
     else
     {
         MessageBox.Show("请选择一行记录", "消息", MessageBoxButtons.OK, MessageBoxIcon.Warning);
     }
 }