Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mcs / class / System.Windows.Forms / System.Windows.Forms / Shortcut.cs
index b44078587812f6aed4d1b56b5cb8d525a4664321..98c81787361a8b4d0c00129cb2fee1a67425e889 100644 (file)
@@ -1,14 +1,3 @@
-//
-// System.Windows.Forms.Shortcut.cs
-//
-// Author:
-//   Dennis Hayes = dennish@raytek.com
-//   Gianandrea Terzi (gianandrea.terzi@lario.com)
-//
-// (C), 2002 Ximian, Inc.  http://www.ximian.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
 // 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
 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
+// Copyright (c) 2004 Novell, Inc.
+//
+// Authors:
+//     Jordi Mas i Hernandez, jordi@ximian.com
+//
+//
 
 using System.Runtime.InteropServices;
 
@@ -36,155 +31,161 @@ namespace System.Windows.Forms
        [ComVisible (true)]
        public enum Shortcut
        {
-               Alt0 = 262192,
-               Alt1 = 262193,
-               Alt2 = 262194,
-               Alt3 = 262195,
-               Alt4 = 262196,
-               Alt5 = 262197,
-               Alt6 = 262198,
-               Alt7 = 262199,
-               Alt8 = 262200,
-               Alt9 = 262201,
-               AltBksp = 262152,
-               AltF1 = 262256,
-               AltF2 = 262257,
-               AltF3 = 262258,
-               AltF4 = 262259,
-               AltF5 = 262260,
-               AltF6 = 262261,
-               AltF7 = 262262,
-               AltF8 = 262263,
-               AltF9 = 262264,
-               AltF10 = 262265,
-               AltF11 = 262266,
-               AltF12 = 262267,
-               Ctrl0 = 131120,
-               Ctrl1 = 131121,
-               Ctrl2 = 131122,
-               Ctrl3 = 131123,
-               Ctrl4 = 131124,
-               Ctrl5 = 131125,
-               Ctrl6 = 131126,
-               Ctrl7 = 131127,
-               Ctrl8 = 131128,
-               Ctrl9 = 131129,
-               CtrlA = 131137,
-               CtrlB = 131138,
-               CtrlC = 131139,
-               CtrlD = 131140,
-               CtrlDel = 131118,
-               CtrlE = 131141,
-               CtrlF = 131142,
-               CtrlF1 = 131184,
-               CtrlF2 = 131185,
-               CtrlF3 = 131186,
-               CtrlF4 = 131187,
-               CtrlF5 = 131188,
-               CtrlF6 = 131189,
-               CtrlF7 = 131190,
-               CtrlF8 = 131191,
-               CtrlF9 = 131192,
-               CtrlF10 = 131193,
-               CtrlF11 = 131194,
-               CtrlF12 = 131195,
-               CtrlG = 131143,
-               CtrlH = 131144,
-               CtrlI = 131145,
-               CtrlIns = 131117,
-               CtrlJ = 131146,
-               CtrlK = 131147,
-               CtrlL = 131148,
-               CtrlM = 131149,
-               CtrlN = 131150,
-               CtrlO = 131151,
-               CtrlP = 131152,
-               CtrlQ = 131153,
-               CtrlR = 131154,
-               CtrlS = 131155,
-               CtrlT = 131156,
-               CtrlU = 131157,
-               CtrlV = 131158,
-               CtrlW = 131159,
-               CtrlX = 131160,
-               CtrlY = 131161,
-               CtrlZ = 131162,
-               CtrlShift0 = 196656,
-               CtrlShift1 = 196657,
-               CtrlShift2 = 196658,
-               CtrlShift3 = 196659,
-               CtrlShift4 = 196660,
-               CtrlShift5 = 196661,
-               CtrlShift6 = 196662,
-               CtrlShift7 = 196663,
-               CtrlShift8 = 196664,
-               CtrlShift9 = 196665,
-               CtrlShiftA = 196673,
-               CtrlShiftB = 196674,
-               CtrlShiftC = 196675,
-               CtrlShiftD = 196676,
-               CtrlShiftE = 196677,
-               CtrlShiftF = 196678,
-               CtrlShiftF1 = 196720,
-               CtrlShiftF2 = 196721,
-               CtrlShiftF3 = 196722,
-               CtrlShiftF4 = 196723,
-               CtrlShiftF5 = 196724,
-               CtrlShiftF6 = 196725,
-               CtrlShiftF7 = 196726,
-               CtrlShiftF8 = 196727,
-               CtrlShiftF9 = 196728,
-               CtrlShiftF10 = 196729,
-               CtrlShiftF11 = 196730,
-               CtrlShiftF12 = 196731,
-               CtrlShiftG = 196679,
-               CtrlShiftH = 196680,
-               CtrlShiftI = 196681,
-               CtrlShiftJ = 196682,
-               CtrlShiftK = 196683,
-               CtrlShiftL = 196684,
-               CtrlShiftM = 196685,
-               CtrlShiftN = 196686,
-               CtrlShiftO = 196687,
-               CtrlShiftP = 196688,
-               CtrlShiftQ = 196689,
-               CtrlShiftR = 196690,
-               CtrlShiftS = 196691,
-               CtrlShiftT = 196692,
-               CtrlShiftU = 196693,
-               CtrlShiftV = 196694,
-               CtrlShiftW = 196695,
-               CtrlShiftX = 196696,
-               CtrlShiftY = 196697,
-               CtrlShiftZ = 196698,
-               Del = 46,
-               F1 = 112,
-               F2 = 113,
-               F3 = 114,
-               F4 = 115,
-               F5 = 116,
-               F6 = 117,
-               F7 = 118,
-               F8 = 119,
-               F9 = 120,
-               F10 = 121,
-               F11 = 122,
-               F12 = 123,
-               Ins = 45,
-               None = 0,
-               ShiftDel = 65582,
-               ShiftF1 = 65648,
-               ShiftF2 = 65649,
-               ShiftF3 = 65650,
-               ShiftF4 = 65651,
-               ShiftF5 = 65652,
-               ShiftF6 = 65653,
-               ShiftF7 = 65654,
-               ShiftF8 = 65655,
-               ShiftF9 = 65656,
-               ShiftF10 = 65657,
-               ShiftF11 = 65658,
-               ShiftF12 = 65659,
-               ShiftIns = 65581
+               Alt0            = 0x040030,
+               Alt1            = 0x040031,
+               Alt2            = 0x040032,
+               Alt3            = 0x040033,
+               Alt4            = 0x040034,
+               Alt5            = 0x040035,
+               Alt6            = 0x040036,
+               Alt7            = 0x040037,
+               Alt8            = 0x040038,
+               Alt9            = 0x040039,
+               AltBksp         = 0x040008,
+               AltDownArrow    = 0x040028,
+               AltF1           = 0x040070,
+               AltF10          = 0x040079,
+               AltF11          = 0x04007A,
+               AltF12          = 0x04007B,
+               AltF2           = 0x040071,
+               AltF3           = 0x040072,
+               AltF4           = 0x040073,
+               AltF5           = 0x040074,
+               AltF6           = 0x040075,
+               AltF7           = 0x040076,
+               AltF8           = 0x040077,
+               AltF9           = 0x040078,
+               AltLeftArrow    = 0x040025,
+               AltRightArrow   = 0x040027,
+               AltUpArrow      = 0x040026,
+               Ctrl0           = 0x020030,
+               Ctrl1           = 0x020031,
+               Ctrl2           = 0x020032,
+               Ctrl3           = 0x020033,
+               Ctrl4           = 0x020034,
+               Ctrl5           = 0x020035,
+               Ctrl6           = 0x020036,
+               Ctrl7           = 0x020037,
+               Ctrl8           = 0x020038,
+               Ctrl9           = 0x020039,
+               CtrlA           = 0x020041,
+               CtrlB           = 0x020042,
+               CtrlC           = 0x020043,
+               CtrlD           = 0x020044,
+               CtrlDel         = 0x02002E,
+               CtrlE           = 0x020045,
+               CtrlF           = 0x020046,
+               CtrlF1          = 0x020070,
+               CtrlF10         = 0x020079,
+               CtrlF11         = 0x02007A,
+               CtrlF12         = 0x02007B,
+               CtrlF2          = 0x020071,
+               CtrlF3          = 0x020072,
+               CtrlF4          = 0x020073,
+               CtrlF5          = 0x020074,
+               CtrlF6          = 0x020075,
+               CtrlF7          = 0x020076,
+               CtrlF8          = 0x020077,
+               CtrlF9          = 0x020078,
+               CtrlG           = 0x020047,
+               CtrlH           = 0x020048,
+               CtrlI           = 0x020049,
+               CtrlIns         = 0x02002D,
+               CtrlJ           = 0x02004A,
+               CtrlK           = 0x02004B,
+               CtrlL           = 0x02004C,
+               CtrlM           = 0x02004D,
+               CtrlN           = 0x02004E,
+               CtrlO           = 0x02004F,
+               CtrlP           = 0x020050,
+               CtrlQ           = 0x020051,
+               CtrlR           = 0x020052,
+               CtrlS           = 0x020053,
+               CtrlShift0      = 0x030030,
+               CtrlShift1      = 0x030031,
+               CtrlShift2      = 0x030032,
+               CtrlShift3      = 0x030033,
+               CtrlShift4      = 0x030034,
+               CtrlShift5      = 0x030035,
+               CtrlShift6      = 0x030036,
+               CtrlShift7      = 0x030037,
+               CtrlShift8      = 0x030038,
+               CtrlShift9      = 0x030039,
+               CtrlShiftA      = 0x030041,
+               CtrlShiftB      = 0x030042,
+               CtrlShiftC      = 0x030043,
+               CtrlShiftD      = 0x030044,
+               CtrlShiftE      = 0x030045,
+               CtrlShiftF      = 0x030046,
+               CtrlShiftF1     = 0x030070,
+               CtrlShiftF10    = 0x030079,
+               CtrlShiftF11    = 0x03007A,
+               CtrlShiftF12    = 0x03007B,
+               CtrlShiftF2     = 0x030071,
+               CtrlShiftF3     = 0x030072,
+               CtrlShiftF4     = 0x030073,
+               CtrlShiftF5     = 0x030074,
+               CtrlShiftF6     = 0x030075,
+               CtrlShiftF7     = 0x030076,
+               CtrlShiftF8     = 0x030077,
+               CtrlShiftF9     = 0x030078,
+               CtrlShiftG      = 0x030047,
+               CtrlShiftH      = 0x030048,
+               CtrlShiftI      = 0x030049,
+               CtrlShiftJ      = 0x03004A,
+               CtrlShiftK      = 0x03004B,
+               CtrlShiftL      = 0x03004C,
+               CtrlShiftM      = 0x03004D,
+               CtrlShiftN      = 0x03004E,
+               CtrlShiftO      = 0x03004F,
+               CtrlShiftP      = 0x030050,
+               CtrlShiftQ      = 0x030051,
+               CtrlShiftR      = 0x030052,
+               CtrlShiftS      = 0x030053,
+               CtrlShiftT      = 0x030054,
+               CtrlShiftU      = 0x030055,
+               CtrlShiftV      = 0x030056,
+               CtrlShiftW      = 0x030057,
+               CtrlShiftX      = 0x030058,
+               CtrlShiftY      = 0x030059,
+               CtrlShiftZ      = 0x03005A,
+               CtrlT           = 0x020054,
+               CtrlU           = 0x020055,
+               CtrlV           = 0x020056,
+               CtrlW           = 0x020057,
+               CtrlX           = 0x020058,
+               CtrlY           = 0x020059,
+               CtrlZ           = 0x02005A,
+               Del             = 0x00002E,
+               F1              = 0x000070,
+               F10             = 0x000079,
+               F11             = 0x00007A,
+               F12             = 0x00007B,
+               F2              = 0x000071,
+               F3              = 0x000072,
+               F4              = 0x000073,
+               F5              = 0x000074,
+               F6              = 0x000075,
+               F7              = 0x000076,
+               F8              = 0x000077,
+               F9              = 0x000078,
+               Ins             = 0x00002D,
+               None            = 0x000000,
+               ShiftDel        = 65582,
+               ShiftF1         = 65648,
+               ShiftF10        = 65657,
+               ShiftF11        = 65658,
+               ShiftF12        = 65659,
+               ShiftF2         = 65649,
+               ShiftF3         = 65650,
+               ShiftF4         = 65651,
+               ShiftF5         = 65652,
+               ShiftF6         = 65653,
+               ShiftF7         = 65654,
+               ShiftF8         = 65655,
+               ShiftF9         = 65656,
+               ShiftIns        = 65581,
        }
 }
+
+