/// <summary> /// Make a "tock" sound (rather like you might hear with a clock's tick-tock sound). This is done is several places, /// so this method is provided in order to keep the code related to the choice of sound, in one place. /// </summary> public void MakeKeyPressSound() { //todo #if !SILVERLIGHT AudioLib.PlaySoundResource(SoundResourceForKeyPressSound); #endif }
/// <summary> /// Make a "tock" sound (rather like you might hear with a clock's tick-tock sound). This is done is several places, /// so this method is provided in order to keep the code related to the choice of sound, in one place. /// </summary> public void MakeBackspaceSound() { // WP7 makes a slightly different tone for this, which I like. TODO: Get an audio file to play for this. #if !SILVERLIGHT AudioLib.PlaySoundResource(SoundResourceForKeyPressSound); #endif }