예제 #1
0
        private void ShowProjects(string id)
        {
            ClosePreForm(splitContainer.Panel2);
            FrmProject objFrmProject = new FrmProject();

            objFrmProject.ShowProjectInfoDeg = this.ShowProjectInfo;
            objFrmProject.ShowModelTreeDeg   = this.ShowModuleTree;
            OpenForm(objFrmProject, splitContainer.Panel2);
        }
예제 #2
0
        private void tsbProjectList_Click(object sender, EventArgs e)
        {
            ClosePreForm(splitContainer.Panel2);
            //关联委托方法与委托变量
            FrmProject objFrmProject = new FrmProject();

            objFrmProject.ShowProjectInfoDeg = this.ShowProjectInfo;
            objFrmProject.ShowModelTreeDeg   = this.ShowModuleTree;
            OpenForm(objFrmProject, splitContainer.Panel2);
        }