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; C#汽车销售系统财务管理和销售管理设计(11):http://www.youerw.com/jisuanji/lunwen_2321.html