//
// Radegast Metaverse Client
-// Copyright (c) 2009-2013, Radegast Development Team
+// Copyright (c) 2009-2014, Radegast Development Team
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
+ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(GroupDetails));
this.tcGroupDetails = new System.Windows.Forms.TabControl();
this.tpGeneral = new System.Windows.Forms.TabPage();
this.txtGroupID = new System.Windows.Forms.TextBox();
this.chHasRole = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.chRoleName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.btnInviteNewMember = new System.Windows.Forms.Button();
+ this.btnBanMember = new System.Windows.Forms.Button();
this.btnEjectMember = new System.Windows.Forms.Button();
this.label3 = new System.Windows.Forms.Label();
this.lblAssignedRoles = new System.Windows.Forms.Label();
this.lvwRoles = new Radegast.ListViewNoFlicker();
this.chRoleListName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.chRoleTitle = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
+ this.cbRoleID = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
+ this.rolesContextMenu = new System.Windows.Forms.ContextMenuStrip(this.components);
+ this.copyRoleIDToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.label2 = new System.Windows.Forms.Label();
this.tpNotices = new System.Windows.Forms.TabPage();
this.btnNewNotice = new System.Windows.Forms.Button();
this.lblTitle = new System.Windows.Forms.Label();
this.lblSentBy = new System.Windows.Forms.Label();
this.label1 = new System.Windows.Forms.Label();
+ this.tpBanned = new System.Windows.Forms.TabPage();
+ this.lwBannedMembers = new Radegast.ListViewNoFlicker();
+ this.chBannedName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
+ this.chBannedOn = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
+ this.pnlBannedBottom = new System.Windows.Forms.Panel();
+ this.btnUnban = new System.Windows.Forms.Button();
+ this.btnBan = new System.Windows.Forms.Button();
+ this.pnlBannedTop = new System.Windows.Forms.Panel();
+ this.lblGroupBansTitle = new System.Windows.Forms.Label();
this.pnlBottomControls = new System.Windows.Forms.Panel();
this.btnClose = new System.Windows.Forms.Button();
this.btnApply = new System.Windows.Forms.Button();
this.panel1.SuspendLayout();
this.tpRoles.SuspendLayout();
this.pnlRoleDetaiils.SuspendLayout();
+ this.rolesContextMenu.SuspendLayout();
this.tpNotices.SuspendLayout();
this.pnlNewNotice.SuspendLayout();
this.pnlNoticeAttachment.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.icnNewNoticeAtt)).BeginInit();
this.pnlArchivedNotice.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.icnItem)).BeginInit();
+ this.tpBanned.SuspendLayout();
+ this.pnlBannedBottom.SuspendLayout();
+ this.pnlBannedTop.SuspendLayout();
this.pnlBottomControls.SuspendLayout();
this.SuspendLayout();
//
this.tcGroupDetails.Controls.Add(this.tpGeneral);
this.tcGroupDetails.Controls.Add(this.tpMembersRoles);
this.tcGroupDetails.Controls.Add(this.tpNotices);
+ this.tcGroupDetails.Controls.Add(this.tpBanned);
this.tcGroupDetails.Dock = System.Windows.Forms.DockStyle.Fill;
this.tcGroupDetails.Location = new System.Drawing.Point(0, 0);
this.tcGroupDetails.Name = "tcGroupDetails";
this.lvwGeneralMembers.VirtualMode = true;
this.lvwGeneralMembers.ColumnClick += new System.Windows.Forms.ColumnClickEventHandler(this.lvwGeneralMembers_ColumnClick);
this.lvwGeneralMembers.RetrieveVirtualItem += new System.Windows.Forms.RetrieveVirtualItemEventHandler(this.lvwGeneralMembers_RetrieveVirtualItem);
+ this.lvwGeneralMembers.SearchForVirtualItem += new System.Windows.Forms.SearchForVirtualItemEventHandler(this.lvwMemberDetails_SearchForVirtualItem);
this.lvwGeneralMembers.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.lvwGeneralMembers_MouseDoubleClick);
//
// chGenMemberName
this.panel1.Controls.Add(this.lvwAllowedAbilities);
this.panel1.Controls.Add(this.lvwAssignedRoles);
this.panel1.Controls.Add(this.btnInviteNewMember);
+ this.panel1.Controls.Add(this.btnBanMember);
this.panel1.Controls.Add(this.btnEjectMember);
this.panel1.Controls.Add(this.label3);
this.panel1.Controls.Add(this.lblAssignedRoles);
//
// btnInviteNewMember
//
+ this.btnInviteNewMember.AccessibleName = "Invite new member";
this.btnInviteNewMember.Enabled = false;
this.btnInviteNewMember.Location = new System.Drawing.Point(6, 3);
this.btnInviteNewMember.Name = "btnInviteNewMember";
- this.btnInviteNewMember.Size = new System.Drawing.Size(153, 23);
+ this.btnInviteNewMember.Size = new System.Drawing.Size(80, 23);
this.btnInviteNewMember.TabIndex = 11;
- this.btnInviteNewMember.Text = "Invite New Member...";
+ this.btnInviteNewMember.Text = "Invite";
this.btnInviteNewMember.UseVisualStyleBackColor = true;
this.btnInviteNewMember.Click += new System.EventHandler(this.btnInviteNewMember_Click);
//
+ // btnBanMember
+ //
+ this.btnBanMember.AccessibleName = "Eject from group";
+ this.btnBanMember.Enabled = false;
+ this.btnBanMember.Location = new System.Drawing.Point(178, 3);
+ this.btnBanMember.Name = "btnBanMember";
+ this.btnBanMember.Size = new System.Drawing.Size(80, 23);
+ this.btnBanMember.TabIndex = 11;
+ this.btnBanMember.Text = "Ban";
+ this.btnBanMember.UseVisualStyleBackColor = false;
+ this.btnBanMember.Click += new System.EventHandler(this.btnBanMember_Click);
+ //
// btnEjectMember
//
+ this.btnEjectMember.AccessibleName = "Eject from group";
this.btnEjectMember.Enabled = false;
- this.btnEjectMember.Location = new System.Drawing.Point(221, 3);
+ this.btnEjectMember.Location = new System.Drawing.Point(92, 3);
this.btnEjectMember.Name = "btnEjectMember";
- this.btnEjectMember.Size = new System.Drawing.Size(153, 23);
+ this.btnEjectMember.Size = new System.Drawing.Size(80, 23);
this.btnEjectMember.TabIndex = 11;
- this.btnEjectMember.Text = "Eject From Group";
- this.btnEjectMember.UseVisualStyleBackColor = true;
+ this.btnEjectMember.Text = "Eject";
+ this.btnEjectMember.UseVisualStyleBackColor = false;
this.btnEjectMember.Click += new System.EventHandler(this.btnEjectMember_Click);
//
// label3
this.lvwMemberDetails.VirtualMode = true;
this.lvwMemberDetails.ColumnClick += new System.Windows.Forms.ColumnClickEventHandler(this.lvwGeneralMembers_ColumnClick);
this.lvwMemberDetails.RetrieveVirtualItem += new System.Windows.Forms.RetrieveVirtualItemEventHandler(this.lvwMemberDetails_RetrieveVirtualItem);
+ this.lvwMemberDetails.SearchForVirtualItem += new System.Windows.Forms.SearchForVirtualItemEventHandler(this.lvwMemberDetails_SearchForVirtualItem);
this.lvwMemberDetails.SelectedIndexChanged += new System.EventHandler(this.lvwMemberDetails_SelectedIndexChanged);
this.lvwMemberDetails.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.lvwMemberDetails_MouseDoubleClick);
//
| System.Windows.Forms.AnchorStyles.Right)));
this.lvwRoles.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
this.chRoleListName,
- this.chRoleTitle});
+ this.chRoleTitle,
+ this.cbRoleID});
+ this.lvwRoles.ContextMenuStrip = this.rolesContextMenu;
this.lvwRoles.FullRowSelect = true;
this.lvwRoles.GridLines = true;
this.lvwRoles.HideSelection = false;
this.chRoleTitle.Text = "Role Title";
this.chRoleTitle.Width = 198;
//
+ // cbRoleID
+ //
+ this.cbRoleID.Text = "Role ID";
+ this.cbRoleID.Width = 100;
+ //
+ // rolesContextMenu
+ //
+ this.rolesContextMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.copyRoleIDToolStripMenuItem});
+ this.rolesContextMenu.Name = "rolesContextMenu";
+ this.rolesContextMenu.Size = new System.Drawing.Size(143, 26);
+ //
+ // copyRoleIDToolStripMenuItem
+ //
+ this.copyRoleIDToolStripMenuItem.Name = "copyRoleIDToolStripMenuItem";
+ this.copyRoleIDToolStripMenuItem.Size = new System.Drawing.Size(142, 22);
+ this.copyRoleIDToolStripMenuItem.Text = "Copy Role ID";
+ this.copyRoleIDToolStripMenuItem.Click += new System.EventHandler(this.copyRoleIDToolStripMenuItem_Click);
+ //
// label2
//
this.label2.AutoSize = true;
this.btnRemoveAttachment.AccessibleName = "Remove attachment";
this.btnRemoveAttachment.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.btnRemoveAttachment.Enabled = false;
- this.btnRemoveAttachment.Image = global::Radegast.Properties.Resources.inv_folder_trash;
+ this.btnRemoveAttachment.Image = ((System.Drawing.Image)(resources.GetObject("btnRemoveAttachment.Image")));
this.btnRemoveAttachment.Location = new System.Drawing.Point(170, 15);
this.btnRemoveAttachment.Name = "btnRemoveAttachment";
this.btnRemoveAttachment.Size = new System.Drawing.Size(26, 23);
this.label1.Text = "Group Notice";
this.label1.TextAlign = System.Drawing.ContentAlignment.TopRight;
//
+ // tpBanned
+ //
+ this.tpBanned.Controls.Add(this.lwBannedMembers);
+ this.tpBanned.Controls.Add(this.pnlBannedBottom);
+ this.tpBanned.Controls.Add(this.pnlBannedTop);
+ this.tpBanned.Location = new System.Drawing.Point(4, 22);
+ this.tpBanned.Name = "tpBanned";
+ this.tpBanned.Size = new System.Drawing.Size(400, 439);
+ this.tpBanned.TabIndex = 4;
+ this.tpBanned.Text = "Banned Residents";
+ this.tpBanned.UseVisualStyleBackColor = true;
+ //
+ // lwBannedMembers
+ //
+ this.lwBannedMembers.AllowColumnReorder = true;
+ this.lwBannedMembers.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
+ this.chBannedName,
+ this.chBannedOn});
+ this.lwBannedMembers.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.lwBannedMembers.FullRowSelect = true;
+ this.lwBannedMembers.GridLines = true;
+ this.lwBannedMembers.HideSelection = false;
+ this.lwBannedMembers.Location = new System.Drawing.Point(0, 28);
+ this.lwBannedMembers.Name = "lwBannedMembers";
+ this.lwBannedMembers.ShowGroups = false;
+ this.lwBannedMembers.Size = new System.Drawing.Size(400, 372);
+ this.lwBannedMembers.TabIndex = 10;
+ this.lwBannedMembers.UseCompatibleStateImageBehavior = false;
+ this.lwBannedMembers.View = System.Windows.Forms.View.Details;
+ this.lwBannedMembers.SelectedIndexChanged += new System.EventHandler(this.lwBannedMembers_SelectedIndexChanged);
+ //
+ // chBannedName
+ //
+ this.chBannedName.Text = "Resident name";
+ this.chBannedName.Width = 268;
+ //
+ // chBannedOn
+ //
+ this.chBannedOn.Text = "Banned on";
+ this.chBannedOn.Width = 90;
+ //
+ // pnlBannedBottom
+ //
+ this.pnlBannedBottom.Controls.Add(this.btnUnban);
+ this.pnlBannedBottom.Controls.Add(this.btnBan);
+ this.pnlBannedBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
+ this.pnlBannedBottom.Location = new System.Drawing.Point(0, 400);
+ this.pnlBannedBottom.Name = "pnlBannedBottom";
+ this.pnlBannedBottom.Size = new System.Drawing.Size(400, 39);
+ this.pnlBannedBottom.TabIndex = 4;
+ //
+ // btnUnban
+ //
+ this.btnUnban.Enabled = false;
+ this.btnUnban.Location = new System.Drawing.Point(84, 3);
+ this.btnUnban.Name = "btnUnban";
+ this.btnUnban.Size = new System.Drawing.Size(75, 23);
+ this.btnUnban.TabIndex = 1;
+ this.btnUnban.Text = "Unban";
+ this.btnUnban.UseVisualStyleBackColor = true;
+ this.btnUnban.Click += new System.EventHandler(this.btnUnban_Click);
+ //
+ // btnBan
+ //
+ this.btnBan.Location = new System.Drawing.Point(3, 3);
+ this.btnBan.Name = "btnBan";
+ this.btnBan.Size = new System.Drawing.Size(75, 23);
+ this.btnBan.TabIndex = 0;
+ this.btnBan.Text = "Ban...";
+ this.btnBan.UseVisualStyleBackColor = true;
+ this.btnBan.Click += new System.EventHandler(this.btnBan_Click);
+ //
+ // pnlBannedTop
+ //
+ this.pnlBannedTop.Controls.Add(this.lblGroupBansTitle);
+ this.pnlBannedTop.Dock = System.Windows.Forms.DockStyle.Top;
+ this.pnlBannedTop.Location = new System.Drawing.Point(0, 0);
+ this.pnlBannedTop.Name = "pnlBannedTop";
+ this.pnlBannedTop.Size = new System.Drawing.Size(400, 28);
+ this.pnlBannedTop.TabIndex = 3;
+ //
+ // lblGroupBansTitle
+ //
+ this.lblGroupBansTitle.AutoSize = true;
+ this.lblGroupBansTitle.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.lblGroupBansTitle.Location = new System.Drawing.Point(3, 3);
+ this.lblGroupBansTitle.Name = "lblGroupBansTitle";
+ this.lblGroupBansTitle.Size = new System.Drawing.Size(222, 17);
+ this.lblGroupBansTitle.TabIndex = 2;
+ this.lblGroupBansTitle.Text = "Residents banned from this group";
+ //
// pnlBottomControls
//
this.pnlBottomControls.Controls.Add(this.btnClose);
this.tpRoles.ResumeLayout(false);
this.pnlRoleDetaiils.ResumeLayout(false);
this.pnlRoleDetaiils.PerformLayout();
+ this.rolesContextMenu.ResumeLayout(false);
this.tpNotices.ResumeLayout(false);
this.tpNotices.PerformLayout();
this.pnlNewNotice.ResumeLayout(false);
this.pnlArchivedNotice.ResumeLayout(false);
this.pnlArchivedNotice.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.icnItem)).EndInit();
+ this.tpBanned.ResumeLayout(false);
+ this.pnlBannedBottom.ResumeLayout(false);
+ this.pnlBannedTop.ResumeLayout(false);
+ this.pnlBannedTop.PerformLayout();
this.pnlBottomControls.ResumeLayout(false);
this.ResumeLayout(false);
private System.Windows.Forms.ContextMenuStrip memberListContextMenu;
private System.Windows.Forms.ToolStripMenuItem memberListContextMenuSave;
public System.Windows.Forms.TextBox txtGroupID;
+ private System.Windows.Forms.ColumnHeader cbRoleID;
+ private System.Windows.Forms.ContextMenuStrip rolesContextMenu;
+ private System.Windows.Forms.ToolStripMenuItem copyRoleIDToolStripMenuItem;
+ private System.Windows.Forms.TabPage tpBanned;
+ public ListViewNoFlicker lwBannedMembers;
+ public System.Windows.Forms.ColumnHeader chBannedName;
+ public System.Windows.Forms.ColumnHeader chBannedOn;
+ private System.Windows.Forms.Panel pnlBannedBottom;
+ private System.Windows.Forms.Button btnUnban;
+ private System.Windows.Forms.Button btnBan;
+ private System.Windows.Forms.Panel pnlBannedTop;
+ public System.Windows.Forms.Label lblGroupBansTitle;
+ public System.Windows.Forms.Button btnBanMember;
}
}