SCJMapper-V2/MySounds.cs
bm98 47fb23f1cf Re-design and update for AC1.0 mapping policies
Can only map to appropriate device type (mixed ones no longer supported)
Can extend an action which then uses addbind in XML (context menu)
Removed Invert per command (no longer supported)
Update options usage and syntax
Changed actionmap version to 1
Persist treeview filter checkboxes in app settings
2014-12-22 01:34:09 +01:00

44 lines
991 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Media;
namespace SCJMapper_V2
{
public class MySounds
{
/*
SystemSounds.Asterisk,
SystemSounds.Beep,
SystemSounds.Exclamation,
SystemSounds.Hand,
SystemSounds.Question
*
* Asterisk - the sound that is played when a popup alert is displayed, like a warning message.
Default Beep - this sound is played for multiple reasons, depending on what you do. For example, it will play if you try to select a parent window before closing the active one.
Exclamation - the sound that is played when you try to do something that is not supported by Windows.
*/
public static void PlayNotfound( )
{
SystemSounds.Beep.Play( );
}
public static void PlayCannot( )
{
SystemSounds.Beep.Play( );
}
public static void PlayError( )
{
SystemSounds.Exclamation.Play( );
}
}
}