Exemple #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();
         }
     }
 }
Exemple #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);
     }
 }