Filter:   InfoImg
download ConsoleKey.cs
Language: C#
Copyright: (C) 2005 Novell, Inc (http://www.novell.com)
LOC: 151
Project Info
mcs
Server: Mono
Type: svn
...cs\mcs\class\corlib\System\
   __ComObject.cs
   _AppDomain.cs
   ...ssViolationException.cs
   Action.cs
   ActivationContext.cs
   Activator.cs
   AppDomain.cs
   AppDomainInitializer.cs
   AppDomainManager.cs
   AppDomainSetup.cs
   ...ainUnloadedException.cs
   ApplicationException.cs
   ApplicationId.cs
   ApplicationIdentity.cs
   ArgIterator.cs
   ArgumentException.cs
   ArgumentNullException.cs
   ...tOutOfRangeException.cs
   ArithmeticException.cs
   Array.cs
   ArraySegment.cs
   ...ypeMismatchException.cs
   AssemblyLoadEventArgs.cs
   ...mblyLoadEventHandler.cs
   AsyncCallback.cs
   Attribute.cs
   AttributeTargets.cs
   AttributeUsageAttribute.cs
   BadImageFormatException.cs
   Base64FormattingOptions.cs
   BitConverter.cs
   Boolean.cs
   Buffer.cs
   Byte.cs
   ...adAppDomainException.cs
   Char.cs
   CharEnumerator.cs
   CLSCompliantAttribute.cs
   Comparison.cs
   Console.cs
   ConsoleCancelEventArgs.cs
   ...leCancelEventHandler.cs
   ConsoleColor.cs
   ConsoleDriver.cs
   ConsoleKey.cs
   ConsoleKeyInfo.cs
   ConsoleModifiers.cs
   ConsoleSpecialKey.cs
   ContextBoundObject.cs
   ContextMarshalException.cs
   ContextStaticAttribute.cs
   Convert.cs
   Converter.cs
   CrossAppDomainDelegate.cs
   DataMisalignedException.cs
   DateTime.cs
   DateTimeKind.cs
   DayOfWeek.cs
   DBNull.cs
   Decimal.cs
   Delegate.cs
   ...eSerializationHolder.cs
   DivideByZeroException.cs
   DllNotFoundException.cs
   ...rInitializationFlags.cs
   Double.cs
   ...eWaitObjectException.cs
   ...intNotFoundException.cs
   Enum.cs
   Environment.cs
   ...onmentVariableTarget.cs
   EventArgs.cs
   EventHandler.cs
   Exception.cs
   ...utionEngineException.cs
   FieldAccessException.cs
   FlagsAttribute.cs
   FormatException.cs
   GC.cs
   Guid.cs
   IAppDomainSetup.cs
   IApplicationDescription.cs
   IAsyncResult.cs
   ICloneable.cs
   IComparable.cs
   IConsoleDriver.cs
   IConvertible.cs
   ICustomFormatter.cs
   IDisposable.cs
   IEquatable.cs
   IFormatProvider.cs
   IFormattable.cs
   IHostContext.cs
   ...xOutOfRangeException.cs
   Int16.cs
   Int32.cs
   Int64.cs
   IntPtr.cs
   INullableValue.cs
   InvalidCastException.cs
   ...idOperationException.cs
   InvalidProgramException.cs
   IServiceProvider.cs
   KnownTerminals.cs
   LoaderOptimization.cs
   ...ptimizationAttribute.cs
   LocalDataStoreSlot.cs
   MarshalByRefObject.cs
   Math.cs
   MemberAccessException.cs
   MethodAccessException.cs
   MidpointRounding.cs
   MissingFieldException.cs
   MissingMemberException.cs
   MissingMethodException.cs
   ModuleHandle.cs
   MonoAsyncCall.cs
   MonoCustomAttrs.cs
   MonoType.cs
   MTAThreadAttribute.cs
   MulticastDelegate.cs
   ...otSupportedException.cs
   NonSerializedAttribute.cs
   NotCancelableException.cs
   ...initeNumberException.cs
   NotImplementedException.cs
   NotSupportedException.cs
   Nullable.cs
   NullReferenceException.cs
   NumberFormatter.cs
   Object.cs
   ObjectDisposedException.cs
   ObsoleteAttribute.cs
   OperatingSystem.cs
   ...ionCanceledException.cs
   OutOfMemoryException.cs
   OverflowException.cs
   ParamArrayAttribute.cs
   PlatformID.cs
   ...otSupportedException.cs
   Predicate.cs
   Random.cs
   RankException.cs
   ResolveEventArgs.cs
   ResolveEventHandler.cs
   RuntimeArgumentHandle.cs
   RuntimeFieldHandle.cs
   RuntimeMethodHandle.cs
   RuntimeTypeHandle.cs
   SByte.cs
   SerializableAttribute.cs
   Single.cs
   StackOverflowException.cs
   STAThreadAttribute.cs
   String.cs
   StringComparer.cs
   StringComparison.cs
   StringSplitOptions.cs
   SystemException.cs
   TermInfoBooleans.cs
   TermInfoDriver.cs
   TermInfoNumbers.cs
   TermInfoReader.cs
   TermInfoStrings.cs
   ThreadStaticAttribute.cs
   TimeoutException.cs
   TimeSpan.cs
   TimeZone.cs
   Type.cs
   TypeCode.cs
   TypedReference.cs
   ...tializationException.cs
   TypeLoadException.cs
   TypeUnloadedException.cs
   UInt16.cs
   UInt32.cs
   UInt64.cs
   UIntPtr.cs
   ...rizedAccessException.cs
   ...edExceptionEventArgs.cs
   ...xceptionEventHandler.cs
   ...ySerializationHolder.cs
   ValueType.cs
   Variant.cs
   Version.cs
   Void.cs
   WeakReference.cs
   WindowsConsoleDriver.cs

//
// System.ConsoleKey
//
// Authors:
//	Gonzalo Paniagua Javier (gonzalo@ximian.com)
//
// (C) 2005 Novell, Inc (http://www.novell.com)
//

//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to
// permit persons to whom the Software is furnished to do so, subject to
// the following conditions:
// 
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.
// 
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
#if NET_2_0
namespace System {

	[Serializable]
	public enum ConsoleKey {
		Backspace = 8,
		Tab = 9,
		Clear = 12,
		Enter = 13,
		Pause = 19,
		Escape = 27,
		Spacebar = 32,
		PageUp = 33,
		PageDown = 34,
		End = 35,
		Home = 36,
		LeftArrow = 37,
		UpArrow = 38,
		RightArrow = 39,
		DownArrow = 40,
		Select = 41,
		Print = 42,
		Execute = 43,
		PrintScreen = 44,
		Insert = 45,
		Delete = 46,
		Help = 47,
		D0 = 48,
		D1 = 49,
		D2 = 50,
		D3 = 51,
		D4 = 52,
		D5 = 53,
		D6 = 54,
		D7 = 55,
		D8 = 56,
		D9 = 57,
		A = 65,
		B = 66,
		C = 67,
		D = 68,
		E = 69,
		F = 70,
		G = 71,
		H = 72,
		I = 73,
		J = 74,
		K = 75,
		L = 76,
		M = 77,
		N = 78,
		O = 79,
		P = 80,
		Q = 81,
		R = 82,
		S = 83,
		T = 84,
		U = 85,
		V = 86,
		W = 87,
		X = 88,
		Y = 89,
		Z = 90,
		LeftWindows = 91,
		RightWindows = 92,
		Applications = 93,
		Sleep = 95,
		NumPad0 = 96,
		NumPad1 = 97,
		NumPad2 = 98,
		NumPad3 = 99,
		NumPad4 = 100,
		NumPad5 = 101,
		NumPad6 = 102,
		NumPad7 = 103,
		NumPad8 = 104,
		NumPad9 = 105,
		Multiply = 106,
		Add = 107,
		Separator = 108,
		Subtract = 109,
		Decimal = 110,
		Divide = 111,
		F1 = 112,
		F2 = 113,
		F3 = 114,
		F4 = 115,
		F5 = 116,
		F6 = 117,
		F7 = 118,
		F8 = 119,
		F9 = 120,
		F10 = 121,
		F11 = 122,
		F12 = 123,
		F13 = 124,
		F14 = 125,
		F15 = 126,
		F16 = 127,
		F17 = 128,
		F18 = 129,
		F19 = 130,
		F20 = 131,
		F21 = 132,
		F22 = 133,
		F23 = 134,
		F24 = 135,
		BrowserBack = 166,
		BrowserForward = 167,
		BrowserRefresh = 168,
		BrowserStop = 169,
		BrowserSearch = 170,
		BrowserFavorites = 171,
		BrowserHome = 172,
		VolumeMute = 173,
		VolumeDown = 174,
		VolumeUp = 175,
		MediaNext = 176,
		MediaPrevious = 177,
		MediaStop = 178,
		MediaPlay = 179,
		LaunchMail = 180,
		LaunchMediaSelect = 181,
		LaunchApp1 = 182,
		LaunchApp2 = 183,
		Oem1 = 186,
		OemPlus = 187,
		OemComma = 188,
		OemMinus = 189,
		OemPeriod = 190,
		Oem2 = 191,
		Oem3 = 192,
		Oem4 = 219,
		Oem5 = 220,
		Oem6 = 221,
		Oem7 = 222,
		Oem8 = 223,
		Oem102 = 226,
		Process = 229,
		Packet = 231,
		Attention = 246,
		CrSel = 247,
		ExSel = 248,
		EraseEndOfFile = 249,
		Play = 250,
		Zoom = 251,
		NoName = 252,
		Pa1 = 253,
		OemClear = 254,
	}
}
#endif