예제 #1
0
 // Invoke the Changed event; called whenever list changes
 protected virtual void OnPresetSelected(PresetsEventArgs e)
 {
     if (PresetSelected != null)
     {
         PresetSelected(this, e);
     }
 }
예제 #2
0
 void presets_PresetSelected(object sender, PresetsEventArgs e)
 {
     Log.Debug("PresetTouched", "Touched Preset " + e.Preset);
     selectedPreset = e.Preset - 1;
     dpad.Rotated   = presets[selectedPreset].DPadRotated;
 }