Exemplo n.º 1
0
 // If one item activates within a group, then deactivate the others within this group
 public void ReportActivation(string itemID)
 {
     foreach (KeyValuePair <string, SettingsMenuItem> entry in sectionButtons)
     {
         if (entry.Key != itemID)
         {
             SettingsMenuItem item = entry.Value;
             if (item.ItemRole() == Util.RADIO_BUTTON)
             {
                 RadioButton button = (RadioButton)entry.Value;
                 button.Deactivateitem();
             }
         }
     }
 }