private void dgvMessage_CellMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e)
        {
            FrmShowMessage showMessage = new FrmShowMessage();

            if (dgvMessage.SelectedRows.Count == 1)
            {
                showMessage.currentRow = dgvMessage.SelectedRows[0];
                showMessage.frmmessage = this;
                showMessage.ShowDialog();
            }
            else
            {
                MessageBox.Show("您没有选择或要查看的项!");
            }
        }
        private void btnLook_Click(object sender, EventArgs e)
        {
            FrmShowMessage showMessage = new FrmShowMessage();

            if (dgvMessage.SelectedRows.Count == 1)
            {
                showMessage.currentRow = dgvMessage.SelectedRows[0];
                showMessage.frmmessage = this;
                showMessage.ShowDialog();
            }
            else if (this.dgvMessage.SelectedRows.Count > 1)
            {
                MessageBox.Show("您不能同时查看多条消息!", Common.APTION);
            }
            else if (this.dgvMessage.SelectedRows.Count <= 0)
            {
                MessageBox.Show("您没有选择或要查看的项!", Common.APTION);
            }
        }