Esempio n. 1
0
 public void AddGroup(string groupId, string groupText, Image selected, Image unselected)
 {
     ExpandableGroup group = new ExpandableGroup();
     group.Dock = DockStyle.Top;
     group.Configure(groupText, selected, unselected);
     group.ButtonLabelClicked += group_ButtonLabelClicked;
     this.items.Add(groupId, group);
     this.Controls.Add(group);
 }
Esempio n. 2
0
 private void getSelectedFromGroup(ExpandableGroup group)
 {
     foreach (BigButton bigButton in group.Items)
     {
         if (bigButton.IsSelected)
         {
             this.SelectedItems.Add(bigButton.KeyId);
         }
     }
 }