Ejemplo n.º 1
0
 private void dgvApplyInfo_CellMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e)
 {
     if (applicationInfo.CtrlID != null)
     {
         frmStoreAppDetail objfrmDetail = new frmStoreAppDetail(applicationInfo, CtrlType);
         if (objfrmDetail.ShowDialog() == DialogResult.OK)
         {
             this.GetApplicationDetail();
         }
     }
 }
Ejemplo n.º 2
0
 private void BtnSelect_Click(object sender, EventArgs e)
 {
     if (applicationInfo.CtrlID != null)
     {
         frmStoreAppDetail fsad = new frmStoreAppDetail(applicationInfo, CtrlType);
         if (fsad.ShowDialog() == DialogResult.OK)
         {
             this.GetApplicationDetail();
         }
     }
     else
     {
         MessageBox.Show("请选择一行记录", "消息", MessageBoxButtons.OK, MessageBoxIcon.Warning);
     }
 }