Esempio n. 1
0
 private void DoRomToggle()
 {
     AllPathControls
     .Where(c => c.Name == "ROM")
     .ToList()
     .ForEach(control => control.Enabled = !RecentForROMs.Checked);
 }
Esempio n. 2
0
 private void DoRomToggle()
 {
     foreach (var control in AllPathControls.Where(c => c.Name == "ROM"))
     {
         control.Enabled = !RecentForROMs.Checked;
     }
 }