mirror of
https://github.com/SCToolsfactory/SCJMapper-V2.git
synced 2024-11-10 13:10:25 +00:00
47fb23f1cf
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
44 lines
991 B
C#
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( );
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
}
|