Ejemplo n.º 1
0
        private void InitializePages()
        {
            // EditUserPage
            editUserPage = new EditUserPage();
            this.AddPage(
                editUserPage,
                new MPMenuItem(editUserPage.PageID,
                               Resources.Caption_General,
                               Resources.Caption_General),
                MPMenu.POSITION_END);


            userMemberOf = new EditSimpleListPage(
                Resources.Caption_MemberOf,
                _username,
                Resources.LocalGroup_32,
                "User",
                "Is a member of the following groups: ",
                "Group",
                GetUserDescription,
                GetGroupList,
                AddUserToGroup,
                DeleteUserFromGroup,
                (EditDialog)this);

            this.AddPage(
                userMemberOf,
                new MPMenuItem(
                    userMemberOf.PageID,
                    Resources.Caption_MemberOf,
                    Resources.Caption_MemberOf),
                MPMenu.POSITION_END);
        }
Ejemplo n.º 2
0
        private void InitializePages()
        {
            groupPropertiesPage =
                new EditSimpleListPage("Members", _group,
                                       Resources.LocalGroup_32,
                                       "Group", "Contains the following users: ", "User",
                                       GetGroupDescription, GetUserList, AddUserToGroup, DeleteUserFromGroup,
                                       (EditDialog)this);

            this.AddPage(groupPropertiesPage,
                         new MPMenuItem(groupPropertiesPage.PageID, "Members", "Members"),
                         MPMenu.POSITION_END
                         );
        }
 private void InitializePages()
 {
     groupPropertiesPage =
     new EditSimpleListPage("Members", _group,
     Resources.LocalGroup_32,
     "Group", "Contains the following users: ", "User",
     GetGroupDescription, GetUserList, AddUserToGroup, DeleteUserFromGroup,
     (EditDialog)this);
     
     this.AddPage(groupPropertiesPage,
     new MPMenuItem(groupPropertiesPage.PageID, "Members", "Members"),
     MPMenu.POSITION_END
     );
     
     
 }
Ejemplo n.º 4
0
 private void InitializePages()
 {
     // EditUserPage
     editUserPage = new EditUserPage();
     this.AddPage(
         editUserPage,
         new MPMenuItem(editUserPage.PageID,
             Resources.Caption_General,
             Resources.Caption_General),
         MPMenu.POSITION_END);
     
     
     userMemberOf = new EditSimpleListPage(
         Resources.Caption_MemberOf,
         _username,
         Resources.LocalGroup_32,
         "User",
         "Is a member of the following groups: ",
         "Group",
         GetUserDescription,
         GetGroupList,
         AddUserToGroup,
         DeleteUserFromGroup,
         (EditDialog) this);
     
     this.AddPage(
         userMemberOf,
         new MPMenuItem(
             userMemberOf.PageID,
             Resources.Caption_MemberOf,
             Resources.Caption_MemberOf),
         MPMenu.POSITION_END);
 }