[System] Process.WaitForExit now triggers event Exited.
[mono.git] / mcs / class / corlib / System / ConsoleKey.cs
1 //
2 // System.ConsoleKey
3 //
4 // Authors:
5 //      Gonzalo Paniagua Javier (gonzalo@ximian.com)
6 //
7 // (C) 2005 Novell, Inc (http://www.novell.com)
8 //
9
10 //
11 // Permission is hereby granted, free of charge, to any person obtaining
12 // a copy of this software and associated documentation files (the
13 // "Software"), to deal in the Software without restriction, including
14 // without limitation the rights to use, copy, modify, merge, publish,
15 // distribute, sublicense, and/or sell copies of the Software, and to
16 // permit persons to whom the Software is furnished to do so, subject to
17 // the following conditions:
18 // 
19 // The above copyright notice and this permission notice shall be
20 // included in all copies or substantial portions of the Software.
21 // 
22 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
23 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
24 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
25 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
26 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
27 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
28 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
29 //
30 namespace System {
31
32         [Serializable]
33         public enum ConsoleKey {
34                 Backspace = 8,
35                 Tab = 9,
36                 Clear = 12,
37                 Enter = 13,
38                 Pause = 19,
39                 Escape = 27,
40                 Spacebar = 32,
41                 PageUp = 33,
42                 PageDown = 34,
43                 End = 35,
44                 Home = 36,
45                 LeftArrow = 37,
46                 UpArrow = 38,
47                 RightArrow = 39,
48                 DownArrow = 40,
49                 Select = 41,
50                 Print = 42,
51                 Execute = 43,
52                 PrintScreen = 44,
53                 Insert = 45,
54                 Delete = 46,
55                 Help = 47,
56                 D0 = 48,
57                 D1 = 49,
58                 D2 = 50,
59                 D3 = 51,
60                 D4 = 52,
61                 D5 = 53,
62                 D6 = 54,
63                 D7 = 55,
64                 D8 = 56,
65                 D9 = 57,
66                 A = 65,
67                 B = 66,
68                 C = 67,
69                 D = 68,
70                 E = 69,
71                 F = 70,
72                 G = 71,
73                 H = 72,
74                 I = 73,
75                 J = 74,
76                 K = 75,
77                 L = 76,
78                 M = 77,
79                 N = 78,
80                 O = 79,
81                 P = 80,
82                 Q = 81,
83                 R = 82,
84                 S = 83,
85                 T = 84,
86                 U = 85,
87                 V = 86,
88                 W = 87,
89                 X = 88,
90                 Y = 89,
91                 Z = 90,
92                 LeftWindows = 91,
93                 RightWindows = 92,
94                 Applications = 93,
95                 Sleep = 95,
96                 NumPad0 = 96,
97                 NumPad1 = 97,
98                 NumPad2 = 98,
99                 NumPad3 = 99,
100                 NumPad4 = 100,
101                 NumPad5 = 101,
102                 NumPad6 = 102,
103                 NumPad7 = 103,
104                 NumPad8 = 104,
105                 NumPad9 = 105,
106                 Multiply = 106,
107                 Add = 107,
108                 Separator = 108,
109                 Subtract = 109,
110                 Decimal = 110,
111                 Divide = 111,
112                 F1 = 112,
113                 F2 = 113,
114                 F3 = 114,
115                 F4 = 115,
116                 F5 = 116,
117                 F6 = 117,
118                 F7 = 118,
119                 F8 = 119,
120                 F9 = 120,
121                 F10 = 121,
122                 F11 = 122,
123                 F12 = 123,
124                 F13 = 124,
125                 F14 = 125,
126                 F15 = 126,
127                 F16 = 127,
128                 F17 = 128,
129                 F18 = 129,
130                 F19 = 130,
131                 F20 = 131,
132                 F21 = 132,
133                 F22 = 133,
134                 F23 = 134,
135                 F24 = 135,
136                 BrowserBack = 166,
137                 BrowserForward = 167,
138                 BrowserRefresh = 168,
139                 BrowserStop = 169,
140                 BrowserSearch = 170,
141                 BrowserFavorites = 171,
142                 BrowserHome = 172,
143                 VolumeMute = 173,
144                 VolumeDown = 174,
145                 VolumeUp = 175,
146                 MediaNext = 176,
147                 MediaPrevious = 177,
148                 MediaStop = 178,
149                 MediaPlay = 179,
150                 LaunchMail = 180,
151                 LaunchMediaSelect = 181,
152                 LaunchApp1 = 182,
153                 LaunchApp2 = 183,
154                 Oem1 = 186,
155                 OemPlus = 187,
156                 OemComma = 188,
157                 OemMinus = 189,
158                 OemPeriod = 190,
159                 Oem2 = 191,
160                 Oem3 = 192,
161                 Oem4 = 219,
162                 Oem5 = 220,
163                 Oem6 = 221,
164                 Oem7 = 222,
165                 Oem8 = 223,
166                 Oem102 = 226,
167                 Process = 229,
168                 Packet = 231,
169                 Attention = 246,
170                 CrSel = 247,
171                 ExSel = 248,
172                 EraseEndOfFile = 249,
173                 Play = 250,
174                 Zoom = 251,
175                 NoName = 252,
176                 Pa1 = 253,
177                 OemClear = 254,
178         }
179 }
180