/// <summary>编辑
        ///
        /// </summary>
        private void DoEdit()
        {
            string strMsg = CheckSelect("修改");

            if (strMsg != string.Empty)
            {
                MessageBox.Show(strMsg);
                return;
            }
            DataGridViewRow drRowEdit = grdData.SelectedRows[0];
            Sys_Roles       model     = drRowEdit.Tag as Sys_Roles;

            if (model == null)
            {
                int intKeyID = int.Parse(drRowEdit.Cells[gridmrzKeyId.Name].Value.ToString());
                model = m_Sys_RolesDAL.GetModel(intKeyID);
            }
            if (model != null)
            {
                FrmSys_RolesSimpleDialog frmDialog = new FrmSys_RolesSimpleDialog(model, m_lstSysRoles);
                if (frmDialog.ShowDialog() == DialogResult.OK)
                {
                    m_lstSysRoles      = frmDialog.ListSys_Roles;
                    grdData.DataSource = m_lstSysRoles;
                    grdData.Refresh();
                }
            }
        }
        /// <summary>新增
        ///
        /// </summary>
        private void DoNew()
        {
            FrmSys_RolesSimpleDialog frmDialog = new FrmSys_RolesSimpleDialog(null, m_lstSysRoles);

            if (frmDialog.ShowDialog() == DialogResult.OK)
            {
                m_lstSysRoles      = frmDialog.ListSys_Roles;
                grdData.DataSource = null;
                grdData.DataSource = m_lstSysRoles;
                grdData.Refresh();
            }
        }