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

            if (strMsg != string.Empty)
            {
                MessageBox.Show(strMsg);
                return;
            }
            BseProject model = objListViewMaster.SelectedObjects[0] as BseProject;

            if (model != null)
            {
                FrmBseProjectModuleMasterDetailDialog frmDialog = new FrmBseProjectModuleMasterDetailDialog(model, m_lstBseProject, m_lstBseModule, m_dsDetailGridSource);
                if (frmDialog.ShowDialog() == DialogResult.OK)
                {
                    m_lstBseProject = frmDialog.ListBseProject;
                    m_lstBseModule  = frmDialog.ListBseModule;
                    if (m_lstBseProject != null)
                    {
                        objListViewMaster.SetObjects(m_lstBseProject);
                        objListViewMaster.Refresh();
                    }
                    if (m_lstBseModule != null)
                    {
                        objListViewDetail.SetObjects(m_lstBseModule);
                        objListViewDetail.Refresh();
                    }
                }
            }
        }
        /// <summary>新增
        ///
        /// </summary>
        private void DoNew()
        {
            FrmBseProjectModuleMasterDetailDialog frmDialog = new FrmBseProjectModuleMasterDetailDialog(null, m_lstBseProject, m_lstBseModule, m_dsDetailGridSource);

            if (frmDialog.ShowDialog() == DialogResult.OK)
            {
                m_lstBseProject = frmDialog.ListBseProject;
                m_lstBseModule  = frmDialog.ListBseModule;
                if (m_lstBseProject != null)
                {
                    objListViewMaster.SetObjects(m_lstBseProject);
                    objListViewMaster.Refresh();
                }
                if (m_lstBseModule != null)
                {
                    objListViewDetail.SetObjects(m_lstBseModule);
                    objListViewDetail.Refresh();
                }
            }
        }