[jit] Enable partial generic sharing when not using AOT as an experiment.
[mono.git] / mcs / class / Managed.Windows.Forms / System.Windows.Forms / Shortcut.cs
1 // Permission is hereby granted, free of charge, to any person obtaining
2 // a copy of this software and associated documentation files (the
3 // "Software"), to deal in the Software without restriction, including
4 // without limitation the rights to use, copy, modify, merge, publish,
5 // distribute, sublicense, and/or sell copies of the Software, and to
6 // permit persons to whom the Software is furnished to do so, subject to
7 // the following conditions:
8 //
9 // The above copyright notice and this permission notice shall be
10 // included in all copies or substantial portions of the Software.
11 //
12 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
13 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
14 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
15 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
16 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
17 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
18 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
19 //
20 // Copyright (c) 2004 Novell, Inc.
21 //
22 // Authors:
23 //      Jordi Mas i Hernandez, jordi@ximian.com
24 //
25 //
26
27 using System.Runtime.InteropServices;
28
29 namespace System.Windows.Forms
30 {
31         [ComVisible (true)]
32         public enum Shortcut
33         {
34                 Alt0            = 0x040030,
35                 Alt1            = 0x040031,
36                 Alt2            = 0x040032,
37                 Alt3            = 0x040033,
38                 Alt4            = 0x040034,
39                 Alt5            = 0x040035,
40                 Alt6            = 0x040036,
41                 Alt7            = 0x040037,
42                 Alt8            = 0x040038,
43                 Alt9            = 0x040039,
44                 AltBksp         = 0x040008,
45                 AltDownArrow    = 0x040028,
46                 AltF1           = 0x040070,
47                 AltF10          = 0x040079,
48                 AltF11          = 0x04007A,
49                 AltF12          = 0x04007B,
50                 AltF2           = 0x040071,
51                 AltF3           = 0x040072,
52                 AltF4           = 0x040073,
53                 AltF5           = 0x040074,
54                 AltF6           = 0x040075,
55                 AltF7           = 0x040076,
56                 AltF8           = 0x040077,
57                 AltF9           = 0x040078,
58                 AltLeftArrow    = 0x040025,
59                 AltRightArrow   = 0x040027,
60                 AltUpArrow      = 0x040026,
61                 Ctrl0           = 0x020030,
62                 Ctrl1           = 0x020031,
63                 Ctrl2           = 0x020032,
64                 Ctrl3           = 0x020033,
65                 Ctrl4           = 0x020034,
66                 Ctrl5           = 0x020035,
67                 Ctrl6           = 0x020036,
68                 Ctrl7           = 0x020037,
69                 Ctrl8           = 0x020038,
70                 Ctrl9           = 0x020039,
71                 CtrlA           = 0x020041,
72                 CtrlB           = 0x020042,
73                 CtrlC           = 0x020043,
74                 CtrlD           = 0x020044,
75                 CtrlDel         = 0x02002E,
76                 CtrlE           = 0x020045,
77                 CtrlF           = 0x020046,
78                 CtrlF1          = 0x020070,
79                 CtrlF10         = 0x020079,
80                 CtrlF11         = 0x02007A,
81                 CtrlF12         = 0x02007B,
82                 CtrlF2          = 0x020071,
83                 CtrlF3          = 0x020072,
84                 CtrlF4          = 0x020073,
85                 CtrlF5          = 0x020074,
86                 CtrlF6          = 0x020075,
87                 CtrlF7          = 0x020076,
88                 CtrlF8          = 0x020077,
89                 CtrlF9          = 0x020078,
90                 CtrlG           = 0x020047,
91                 CtrlH           = 0x020048,
92                 CtrlI           = 0x020049,
93                 CtrlIns         = 0x02002D,
94                 CtrlJ           = 0x02004A,
95                 CtrlK           = 0x02004B,
96                 CtrlL           = 0x02004C,
97                 CtrlM           = 0x02004D,
98                 CtrlN           = 0x02004E,
99                 CtrlO           = 0x02004F,
100                 CtrlP           = 0x020050,
101                 CtrlQ           = 0x020051,
102                 CtrlR           = 0x020052,
103                 CtrlS           = 0x020053,
104                 CtrlShift0      = 0x030030,
105                 CtrlShift1      = 0x030031,
106                 CtrlShift2      = 0x030032,
107                 CtrlShift3      = 0x030033,
108                 CtrlShift4      = 0x030034,
109                 CtrlShift5      = 0x030035,
110                 CtrlShift6      = 0x030036,
111                 CtrlShift7      = 0x030037,
112                 CtrlShift8      = 0x030038,
113                 CtrlShift9      = 0x030039,
114                 CtrlShiftA      = 0x030041,
115                 CtrlShiftB      = 0x030042,
116                 CtrlShiftC      = 0x030043,
117                 CtrlShiftD      = 0x030044,
118                 CtrlShiftE      = 0x030045,
119                 CtrlShiftF      = 0x030046,
120                 CtrlShiftF1     = 0x030070,
121                 CtrlShiftF10    = 0x030079,
122                 CtrlShiftF11    = 0x03007A,
123                 CtrlShiftF12    = 0x03007B,
124                 CtrlShiftF2     = 0x030071,
125                 CtrlShiftF3     = 0x030072,
126                 CtrlShiftF4     = 0x030073,
127                 CtrlShiftF5     = 0x030074,
128                 CtrlShiftF6     = 0x030075,
129                 CtrlShiftF7     = 0x030076,
130                 CtrlShiftF8     = 0x030077,
131                 CtrlShiftF9     = 0x030078,
132                 CtrlShiftG      = 0x030047,
133                 CtrlShiftH      = 0x030048,
134                 CtrlShiftI      = 0x030049,
135                 CtrlShiftJ      = 0x03004A,
136                 CtrlShiftK      = 0x03004B,
137                 CtrlShiftL      = 0x03004C,
138                 CtrlShiftM      = 0x03004D,
139                 CtrlShiftN      = 0x03004E,
140                 CtrlShiftO      = 0x03004F,
141                 CtrlShiftP      = 0x030050,
142                 CtrlShiftQ      = 0x030051,
143                 CtrlShiftR      = 0x030052,
144                 CtrlShiftS      = 0x030053,
145                 CtrlShiftT      = 0x030054,
146                 CtrlShiftU      = 0x030055,
147                 CtrlShiftV      = 0x030056,
148                 CtrlShiftW      = 0x030057,
149                 CtrlShiftX      = 0x030058,
150                 CtrlShiftY      = 0x030059,
151                 CtrlShiftZ      = 0x03005A,
152                 CtrlT           = 0x020054,
153                 CtrlU           = 0x020055,
154                 CtrlV           = 0x020056,
155                 CtrlW           = 0x020057,
156                 CtrlX           = 0x020058,
157                 CtrlY           = 0x020059,
158                 CtrlZ           = 0x02005A,
159                 Del             = 0x00002E,
160                 F1              = 0x000070,
161                 F10             = 0x000079,
162                 F11             = 0x00007A,
163                 F12             = 0x00007B,
164                 F2              = 0x000071,
165                 F3              = 0x000072,
166                 F4              = 0x000073,
167                 F5              = 0x000074,
168                 F6              = 0x000075,
169                 F7              = 0x000076,
170                 F8              = 0x000077,
171                 F9              = 0x000078,
172                 Ins             = 0x00002D,
173                 None            = 0x000000,
174                 ShiftDel        = 65582,
175                 ShiftF1         = 65648,
176                 ShiftF10        = 65657,
177                 ShiftF11        = 65658,
178                 ShiftF12        = 65659,
179                 ShiftF2         = 65649,
180                 ShiftF3         = 65650,
181                 ShiftF4         = 65651,
182                 ShiftF5         = 65652,
183                 ShiftF6         = 65653,
184                 ShiftF7         = 65654,
185                 ShiftF8         = 65655,
186                 ShiftF9         = 65656,
187                 ShiftIns        = 65581,
188         }
189 }
190
191