/// <summary>
 /// 删除控件
 /// </summary>
 /// <param name="user"></param>
 /// <returns></returns>
 public bool DeleteControl(params ControlEnum[] ce)
 {
     if (users.UserSucceed && auth && users.Jurisd.GetAdminJurisd())
     {
         OperationData oper = new OperationData();
         bool          isok = oper.DeleteDatabaseToControl(ce);
         if (isok)
         {
             SerializeControlToData();
         }
         return(isok);
     }
     else
     {
         return(false);
     }
 }
 /// <summary>
 /// 添加用户
 /// </summary>
 /// <param name="user"></param>
 /// <returns></returns>
 public bool AddUser(params UserInfo[] user)
 {
     if (users.UserSucceed && auth && users.Jurisd.GetAdminJurisd())
     {
         OperationData oper = new OperationData();
         bool          isok = oper.AddDatabaseToUser(user);
         if (isok)
         {
             oper.Serialize("SerializeUser");
         }
         return(isok);
     }
     else
     {
         return(false);
     }
 }