x6106db8218fc38c0.cs
上传用户:xlxx0122
上传日期:2015-04-24
资源大小:3904k
文件大小:13k
源码类别:

.net编程

开发平台:

C#

  1. namespace Sunisoft.IrisSkin
  2. {
  3.     using System;
  4.     internal class x6106db8218fc38c0
  5.     {
  6.         public static int line;
  7.         public static void WiteConsoleMsg(int msg)
  8.         {
  9.             string str = "";
  10.             switch (((uint) msg))
  11.             {
  12.                 case 0:
  13.                     str = "WM_NULL";
  14.                     break;
  15.                 case 1:
  16.                     str = "WM_CREATE";
  17.                     break;
  18.                 case 2:
  19.                     str = "WM_DESTROY";
  20.                     break;
  21.                 case 3:
  22.                     str = "WM_MOVE";
  23.                     break;
  24.                 case 5:
  25.                     str = "WM_SIZE";
  26.                     break;
  27.                 case 6:
  28.                     str = "WM_ACTIVATE";
  29.                     break;
  30.                 case 7:
  31.                     str = "WM_SETFOCUS";
  32.                     break;
  33.                 case 8:
  34.                     str = "WM_KILLFOCUS";
  35.                     break;
  36.                 case 10:
  37.                     str = "WM_ENABLE";
  38.                     break;
  39.                 case 11:
  40.                     str = "WM_SETREDRAW";
  41.                     break;
  42.                 case 12:
  43.                     str = "WM_SETTEXT";
  44.                     break;
  45.                 case 13:
  46.                     str = "WM_GETTEXT";
  47.                     break;
  48.                 case 14:
  49.                     str = "WM_GETTEXTLENGTH";
  50.                     break;
  51.                 case 15:
  52.                     str = "WM_PAINT";
  53.                     break;
  54.                 case 0x10:
  55.                     str = "WM_CLOSE";
  56.                     break;
  57.                 case 0x11:
  58.                     str = "WM_QUERYENDSESSION";
  59.                     break;
  60.                 case 0x12:
  61.                     str = "WM_QUIT";
  62.                     break;
  63.                 case 0x13:
  64.                     str = "WM_QUERYOPEN";
  65.                     break;
  66.                 case 20:
  67.                     str = "WM_ERASEBKGND";
  68.                     break;
  69.                 case 0x15:
  70.                     str = "WM_SYSCOLORCHANGE";
  71.                     break;
  72.                 case 0x16:
  73.                     str = "WM_ENDSESSION";
  74.                     break;
  75.                 case 0x18:
  76.                     str = "WM_SHOWWINDOW";
  77.                     break;
  78.                 case 0x1a:
  79.                     str = "WM_WININICHANGE";
  80.                     break;
  81.                 case 0x1b:
  82.                     str = "WM_DEVMODECHANGE";
  83.                     break;
  84.                 case 0x1c:
  85.                     str = "WM_ACTIVATEAPP";
  86.                     break;
  87.                 case 0x1d:
  88.                     str = "WM_FONTCHANGE";
  89.                     break;
  90.                 case 30:
  91.                     str = "WM_TIMECHANGE";
  92.                     break;
  93.                 case 0x1f:
  94.                     str = "WM_CANCELMODE";
  95.                     break;
  96.                 case 0x20:
  97.                     str = "WM_SETCURSOR";
  98.                     break;
  99.                 case 0x21:
  100.                     str = "WM_MOUSEACTIVATE";
  101.                     break;
  102.                 case 0x22:
  103.                     str = "WM_CHILDACTIVATE";
  104.                     break;
  105.                 case 0x23:
  106.                     str = "WM_QUEUESYNC";
  107.                     break;
  108.                 case 0x81:
  109.                     str = "WM_NCCREATE";
  110.                     break;
  111.                 case 130:
  112.                     str = "WM_NCDESTROY";
  113.                     break;
  114.                 case 0x83:
  115.                     str = "WM_NCCALCSIZE";
  116.                     break;
  117.                 case 0x84:
  118.                     str = "WM_NCHITTEST";
  119.                     break;
  120.                 case 0x85:
  121.                     str = "WM_NCPAINT";
  122.                     break;
  123.                 case 0x86:
  124.                     str = "WM_NCACTIVATE";
  125.                     break;
  126.                 case 0x87:
  127.                     str = "WM_GETDLGCODE";
  128.                     break;
  129.                 case 0x88:
  130.                     str = "WM_SYNCPAINT";
  131.                     break;
  132.                 case 160:
  133.                     str = "WM_NCMOUSEMOVE";
  134.                     break;
  135.                 case 0xa1:
  136.                     str = "WM_NCLBUTTONDOWN";
  137.                     break;
  138.                 case 0xa2:
  139.                     str = "WM_NCLBUTTONUP";
  140.                     break;
  141.                 case 0xa3:
  142.                     str = "WM_NCLBUTTONDBLCLK";
  143.                     break;
  144.                 case 0xa4:
  145.                     str = "WM_NCRBUTTONDOWN";
  146.                     break;
  147.                 case 0xa5:
  148.                     str = "WM_NCRBUTTONUP";
  149.                     break;
  150.                 case 0xa6:
  151.                     str = "WM_NCRBUTTONDBLCLK";
  152.                     break;
  153.                 case 0xa7:
  154.                     str = "WM_NCMBUTTONDOWN";
  155.                     break;
  156.                 case 0xa8:
  157.                     str = "WM_NCMBUTTONUP";
  158.                     break;
  159.                 case 0xa9:
  160.                     str = "WM_NCMBUTTONDBLCLK";
  161.                     break;
  162.                 case 0xab:
  163.                     str = "WM_NCXBUTTONDOWN";
  164.                     break;
  165.                 case 0xac:
  166.                     str = "WM_NCXBUTTONUP";
  167.                     break;
  168.                 case 0xad:
  169.                     str = "WM_NCXBUTTONDBLCLK";
  170.                     break;
  171.                 case 0xff:
  172.                     str = "WM_INPUT";
  173.                     break;
  174.                 case 0x100:
  175.                     str = "WM_KEYFIRST";
  176.                     break;
  177.                 case 0x101:
  178.                     str = "WM_KEYUP";
  179.                     break;
  180.                 case 0x102:
  181.                     str = "WM_CHAR";
  182.                     break;
  183.                 case 0x103:
  184.                     str = "WM_DEADCHAR";
  185.                     break;
  186.                 case 260:
  187.                     str = "WM_SYSKEYDOWN";
  188.                     break;
  189.                 case 0x105:
  190.                     str = "WM_SYSKEYUP";
  191.                     break;
  192.                 case 0x106:
  193.                     str = "WM_SYSCHAR";
  194.                     break;
  195.                 case 0x107:
  196.                     str = "WM_SYSDEADCHAR";
  197.                     break;
  198.                 case 0x109:
  199.                     str = "WM_UNICHAR";
  200.                     break;
  201.                 case 0x10d:
  202.                     str = "WM_IME_STARTCOMPOSITION";
  203.                     break;
  204.                 case 270:
  205.                     str = "WM_IME_ENDCOMPOSITION";
  206.                     break;
  207.                 case 0x10f:
  208.                     str = "WM_IME_COMPOSITION";
  209.                     break;
  210.                 case 0x110:
  211.                     str = "WM_INITDIALOG";
  212.                     break;
  213.                 case 0x111:
  214.                     str = "WM_COMMAND";
  215.                     break;
  216.                 case 0x112:
  217.                     str = "WM_SYSCOMMAND";
  218.                     break;
  219.                 case 0x113:
  220.                     str = "WM_TIMER";
  221.                     break;
  222.                 case 0x114:
  223.                     str = "WM_HSCROLL";
  224.                     break;
  225.                 case 0x115:
  226.                     str = "WM_VSCROLL";
  227.                     break;
  228.                 case 0x116:
  229.                     str = "WM_INITMENU";
  230.                     break;
  231.                 case 0x117:
  232.                     str = "WM_INITMENUPOPUP";
  233.                     break;
  234.                 case 0x11f:
  235.                     str = "WM_MENUSELECT";
  236.                     break;
  237.                 case 0x120:
  238.                     str = "WM_MENUCHAR";
  239.                     break;
  240.                 case 0x121:
  241.                     str = "WM_ENTERIDLE";
  242.                     break;
  243.                 case 290:
  244.                     str = "WM_MENURBUTTONUP";
  245.                     break;
  246.                 case 0x123:
  247.                     str = "WM_MENUDRAG";
  248.                     break;
  249.                 case 0x124:
  250.                     str = "WM_MENUGETOBJECT";
  251.                     break;
  252.                 case 0x125:
  253.                     str = "WM_UNINITMENUPOPUP";
  254.                     break;
  255.                 case 0x126:
  256.                     str = "WM_MENUCOMMAND";
  257.                     break;
  258.                 case 0x127:
  259.                     str = "WM_CHANGEUISTATE";
  260.                     break;
  261.                 case 0x128:
  262.                     str = "WM_UPDATEUISTATE";
  263.                     break;
  264.                 case 0x129:
  265.                     str = "WM_QUERYUISTATE";
  266.                     break;
  267.                 case 0x132:
  268.                     str = "WM_CTLCOLORMSGBOX";
  269.                     break;
  270.                 case 0x133:
  271.                     str = "WM_CTLCOLOREDIT";
  272.                     break;
  273.                 case 0x134:
  274.                     str = "WM_CTLCOLORLISTBOX";
  275.                     break;
  276.                 case 0x135:
  277.                     str = "WM_CTLCOLORBTN";
  278.                     break;
  279.                 case 310:
  280.                     str = "WM_CTLCOLORDLG";
  281.                     break;
  282.                 case 0x137:
  283.                     str = "WM_CTLCOLORSCROLLBAR";
  284.                     break;
  285.                 case 0x138:
  286.                     str = "WM_CTLCOLORSTATIC";
  287.                     break;
  288.                 case 0x1e1:
  289.                     str = "MN_GETHMENU";
  290.                     break;
  291.                 case 0x210:
  292.                     str = "WM_PARENTNOTIFY";
  293.                     break;
  294.                 case 0x211:
  295.                     str = "WM_ENTERMENULOOP";
  296.                     break;
  297.                 case 530:
  298.                     str = "WM_EXITMENULOOP";
  299.                     break;
  300.                 case 0x213:
  301.                     str = "WM_NEXTMENU";
  302.                     break;
  303.                 case 0x214:
  304.                     str = "WM_SIZING";
  305.                     break;
  306.                 case 0x215:
  307.                     str = "WM_CAPTURECHANGED";
  308.                     break;
  309.                 case 0x216:
  310.                     str = "WM_MOVING";
  311.                     break;
  312.                 case 0xf00f:
  313.                     str = "SC_SEPARATOR";
  314.                     break;
  315.                 case 0xf010:
  316.                     str = "SC_MOVE";
  317.                     break;
  318.                 case 0xf020:
  319.                     str = "SC_MINIMIZE";
  320.                     break;
  321.                 case 0xf000:
  322.                     str = "SC_SIZE";
  323.                     break;
  324.                 case 0xf050:
  325.                     str = "SC_PREVWINDOW";
  326.                     break;
  327.                 case 0xf060:
  328.                     str = "SC_CLOSE";
  329.                     break;
  330.                 case 0xf030:
  331.                     str = "SC_MAXIMIZE";
  332.                     break;
  333.                 case 0xf040:
  334.                     str = "SC_NEXTWINDOW";
  335.                     break;
  336.                 case 0xf100:
  337.                     str = "SC_KEYMENU";
  338.                     break;
  339.                 case 0xf110:
  340.                     str = "SC_ARRANGE";
  341.                     break;
  342.                 case 0xf120:
  343.                     str = "SC_RESTORE";
  344.                     break;
  345.                 case 0xf070:
  346.                     str = "SC_VSCROLL";
  347.                     break;
  348.                 case 0xf080:
  349.                     str = "SC_HSCROLL";
  350.                     break;
  351.                 case 0xf090:
  352.                     str = "SC_MOUSEMENU";
  353.                     break;
  354.                 case 0xf130:
  355.                     str = "SC_TASKLIST";
  356.                     break;
  357.                 case 0xf140:
  358.                     str = "SC_SCREENSAVE";
  359.                     break;
  360.                 case 0xf150:
  361.                     str = "SC_HOTKEY";
  362.                     break;
  363.                 case 0xf180:
  364.                     str = "SC_CONTEXTHELP";
  365.                     break;
  366.                 case 0xffff:
  367.                     str = "UNICODE_NOCHAR";
  368.                     break;
  369.                 case 0xf160:
  370.                     str = "SC_DEFAULT";
  371.                     break;
  372.                 case 0xf170:
  373.                     str = "SC_MONITORPOWER";
  374.                     break;
  375.                 default:
  376.                     str = msg.ToString("x");
  377.                     break;
  378.             }
  379.             Console.WriteLine("{0}:  {1}", line, str);
  380.             line++;
  381.         }
  382.     }
  383. }