private void EditRoleGroups() { PropertyDescriptor context = TypeDescriptor.GetProperties(base.Component)["RoleGroups"]; ControlDesigner.InvokeTransactedChange(base.Component, new TransactedChangeCallback(this.EditRoleGroupsChangeCallback), context, System.Design.SR.GetString("LoginView_EditRoleGroupsTransactionDescription"), context); int num = this._loginView.RoleGroups.Count + 2; if (this.CurrentView >= num) { this.CurrentView = num - 1; } if (this.CurrentView < 0) { this.CurrentView = 0; } this._templateGroups = null; }
public void AddRange(TemplateGroupCollection groups) { this.InternalList.AddRange(groups); }
public void AddRange(TemplateGroupCollection groups) { throw new NotImplementedException(); }
public override void OnComponentChanged(object sender, ComponentChangedEventArgs e) { if ((e.Member == null) || e.Member.Name.Equals("RoleGroups")) { int num = this._loginView.RoleGroups.Count + 2; if (this.CurrentView >= num) { this.CurrentView = num - 1; } this._templateGroups = null; } base.OnComponentChanged(sender, e); }
public void AddRange (TemplateGroupCollection groups) { throw new NotImplementedException (); }