private void btnSave_Click(object sender, EventArgs e)
        {
            if (txtCardID.Text.Trim() == "")
            {
                MessageDialog.ShowPromptMessage("请输入打卡号!");
                return;
            }

            if (txtWorkID.Text.Trim() == "")
            {
                MessageDialog.ShowPromptMessage("请输入员工工号!");
                return;
            }

            HR_CardID_WorkID_Mapping card = new HR_CardID_WorkID_Mapping();

            card.CardID = txtCardID.Text;
            card.WorkID = txtWorkID.Text;

            if (!m_personnelServer.AddCardIDWorkIDMapping(card, out error))
            {
                MessageDialog.ShowPromptMessage(error);
                return;
            }

            RefreshDataGridView();
        }