C#汽车销售系统财务管理和销售管理设计(11)_毕业论文

毕业论文移动版

毕业论文 > 计算机论文 >

C#汽车销售系统财务管理和销售管理设计(11)


                this.MResearchItem.Enabled = true;
                this.MMarketItem.Enabled = true;
                this.MCompactItem.Enabled = true;
                this.MStatisticsItem.Enabled = true;
                this.MS_Login.Enabled = false;
                this.MS_LoginoutItem.Enabled = true;
                this.MS_PwdItem.Enabled = true;
                logininPic.Enabled = false;
                loginoutPic.Enabled = true;
                exitPic.Enabled = true;
                findPic.Enabled = true;
                this.statusServer.Text = "已连接";
                switch(power){
                    case "普通用户":
                        MD_UserItem.Enabled = false;
                        MCompactItem.Enabled = false;
                        MStatisticsItem.Enabled = false;
                        break;
                    case "管理员":
                        MD_UserItem.Enabled = true;
                        MCompactItem.Enabled = true;
                        MStatisticsItem.Enabled = false;
                        break;
                    case "超级管理员":
                        MD_UserItem.Enabled = true;
                        MCompactItem.Enabled = true;
                        MStatisticsItem.Enabled = true;
                        break; (责任编辑:qin)