/// <summary>新增</summary>
        private void btnAdd_Click(object sender, EventArgs e)
        {
            frmCard objfrmCard = new frmCard();

            if (objfrmCard.ShowDialog() == DialogResult.OK)
            {
                this.LoadCard();
            }
        }
 /// <summary>双击修改</summary>
 private void dgvCard_CellMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e)
 {
     if (this.dgvCard.CurrentRow != null)
     {
         int     cardId     = int.Parse(this.dgvCard.CurrentRow.Cells[0].Value.ToString());
         frmCard objfrmCard = new frmCard(cardId);
         if (objfrmCard.ShowDialog() == DialogResult.OK)
         {
             this.LoadCard();
         }
     }
 }
 /// <summary>修改</summary>
 private void btnModify_Click(object sender, EventArgs e)
 {
     if (this.dgvCard.CurrentRow != null)
     {
         int     cardId     = int.Parse(this.dgvCard.CurrentRow.Cells[0].Value.ToString());
         frmCard objfrmCard = new frmCard(cardId);
         if (objfrmCard.ShowDialog() == DialogResult.OK)
         {
             this.LoadCard();
         }
     }
 }