public GroupInvite(RadegastInstance instance, Group group, Dictionary <UUID, GroupRole> roles) : base(instance) { InitializeComponent(); Disposed += new EventHandler(GroupInvite_Disposed); AutoSavePosition = true; this.instance = instance; this.roles = roles; this.group = group; netcom = instance.Netcom; picker = new AvatarPicker(instance) { Dock = DockStyle.Fill }; Controls.Add(picker); picker.SelectionChaged += new EventHandler(picker_SelectionChaged); picker.BringToFront(); netcom.ClientDisconnected += new EventHandler <DisconnectedEventArgs>(Netcom_ClientDisconnected); cmbRoles.Items.Add(roles[UUID.Zero]); cmbRoles.SelectedIndex = 0; foreach (KeyValuePair <UUID, GroupRole> role in roles) { if (role.Key != UUID.Zero) { cmbRoles.Items.Add(role.Value); } } GUI.GuiHelpers.ApplyGuiFixes(this); }
public GroupInvite(RadegastInstance instance, Group group, Dictionary<UUID, GroupRole> roles) : base(instance) { InitializeComponent(); Disposed += new EventHandler(GroupInvite_Disposed); AutoSavePosition = true; this.instance = instance; this.roles = roles; this.group = group; this.netcom = instance.Netcom; picker = new AvatarPicker(instance) { Dock = DockStyle.Fill }; Controls.Add(picker); picker.SelectionChaged += new EventHandler(picker_SelectionChaged); picker.BringToFront(); netcom.ClientDisconnected += new EventHandler<DisconnectedEventArgs>(Netcom_ClientDisconnected); cmbRoles.Items.Add(roles[UUID.Zero]); cmbRoles.SelectedIndex = 0; foreach (KeyValuePair<UUID, GroupRole> role in roles) if (role.Key != UUID.Zero) cmbRoles.Items.Add(role.Value); }
public MuteResidentForm(RadegastInstance instance) : base(instance) { InitializeComponent(); Disposed += new EventHandler(MuteResidentForm_Disposed); AutoSavePosition = true; this.instance = instance; this.netcom = instance.Netcom; picker = new AvatarPicker(instance) { Dock = DockStyle.Fill }; Controls.Add(picker); picker.SelectionChaged += new EventHandler(picker_SelectionChaged); picker.BringToFront(); netcom.ClientDisconnected += new EventHandler<DisconnectedEventArgs>(Netcom_ClientDisconnected); }
public BanGroupMember(RadegastInstance instance, Group group, GroupDetails parent) : base(instance) { InitializeComponent(); Disposed += new EventHandler(GroupInvite_Disposed); AutoSavePosition = true; this.instance = instance; this.group = group; this.netcom = instance.Netcom; this.parent = parent; picker = new AvatarPicker(instance) { Dock = DockStyle.Fill }; Controls.Add(picker); picker.SelectionChaged += new EventHandler(picker_SelectionChaged); picker.BringToFront(); netcom.ClientDisconnected += new EventHandler<DisconnectedEventArgs>(Netcom_ClientDisconnected); }
public MuteResidentForm(RadegastInstance instance) : base(instance) { InitializeComponent(); Disposed += new EventHandler(MuteResidentForm_Disposed); AutoSavePosition = true; this.instance = instance; this.netcom = instance.Netcom; picker = new AvatarPicker(instance) { Dock = DockStyle.Fill }; Controls.Add(picker); picker.SelectionChaged += new EventHandler(picker_SelectionChaged); picker.BringToFront(); netcom.ClientDisconnected += new EventHandler <DisconnectedEventArgs>(Netcom_ClientDisconnected); }
public BanGroupMember(RadegastInstance instance, Group group, GroupDetails parent) : base(instance) { InitializeComponent(); Disposed += new EventHandler(GroupInvite_Disposed); AutoSavePosition = true; this.instance = instance; this.group = group; this.netcom = instance.Netcom; this.parent = parent; picker = new AvatarPicker(instance) { Dock = DockStyle.Fill }; Controls.Add(picker); picker.SelectionChaged += new EventHandler(picker_SelectionChaged); picker.BringToFront(); netcom.ClientDisconnected += new EventHandler <DisconnectedEventArgs>(Netcom_ClientDisconnected); }