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);
 }
コード例 #3
0
 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);
 }
コード例 #5
0
		public void AddRange (TemplateGroupCollection groups)
		{
			throw new NotImplementedException ();
		}
コード例 #6
0
 public void AddRange(TemplateGroupCollection groups)
 {
     this.InternalList.AddRange(groups);
 }