亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

蟲蟲首頁| 資源下載| 資源專輯| 精品軟件
登錄| 注冊

DrawText

  • c#簡單計算器

    // 學生管理.cpp : Defines the entry point for the application. // #include "stdafx.h" #include "resource.h" #define MAX_LOADSTRING 100 // Global Variables: HINSTANCE hInst; // current instance TCHAR szTitle[MAX_LOADSTRING]; // The title bar text TCHAR szWindowClass[MAX_LOADSTRING]; // The title bar text // Foward declarations of functions included in this code module: ATOM MyRegisterClass(HINSTANCE hInstance); BOOL InitInstance(HINSTANCE, int); LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM); LRESULT CALLBACK About(HWND, UINT, WPARAM, LPARAM); struct person {   char name[10];   int ID;   int cj_yw;   int cj_sx;   struct person* next;   struct person* pro; }per; int APIENTRY WinMain(HINSTANCE hInstance,                      HINSTANCE hPrevInstance,                      LPSTR     lpCmdLine,                      int       nCmdShow) {   // TODO: Place code here. MSG msg; HACCEL hAccelTable; // Initialize global strings LoadString(hInstance, IDS_APP_TITLE, szTitle, MAX_LOADSTRING); LoadString(hInstance, IDC_MY, szWindowClass, MAX_LOADSTRING); MyRegisterClass(hInstance); // Perform application initialization: if (!InitInstance (hInstance, nCmdShow))  { return FALSE; } hAccelTable = LoadAccelerators(hInstance, (LPCTSTR)IDC_MY); // Main message loop: while (GetMessage(&msg, NULL, 0, 0))  { if (!TranslateAccelerator(msg.hwnd, hAccelTable, &msg))  { TranslateMessage(&msg); DispatchMessage(&msg); } } return msg.wParam; } // //  FUNCTION: MyRegisterClass() // //  PURPOSE: Registers the window class. // //  COMMENTS: // //    This function and its usage is only necessary if you want this code //    to be compatible with Win32 systems prior to the 'RegisterClassEx' //    function that was added to Windows 95. It is important to call this function //    so that the application will get 'well formed' small icons associated //    with it. // ATOM MyRegisterClass(HINSTANCE hInstance) { WNDCLASSEX wcex; wcex.cbSize = sizeof(WNDCLASSEX);  wcex.style = CS_HREDRAW | CS_VREDRAW; wcex.lpfnWndProc = (WNDPROC)WndProc; wcex.cbClsExtra = 0; wcex.cbWndExtra = 0; wcex.hInstance = hInstance; wcex.hIcon = LoadIcon(hInstance, (LPCTSTR)IDI_MY); wcex.hCursor = LoadCursor(NULL, IDC_ARROW); wcex.hbrBackground = (HBRUSH)(COLOR_WINDOW+1); wcex.lpszMenuName = (LPCSTR)IDC_MY; wcex.lpszClassName = szWindowClass; wcex.hIconSm = LoadIcon(wcex.hInstance, (LPCTSTR)IDI_SMALL); return RegisterClassEx(&wcex); } // //   FUNCTION: InitInstance(HANDLE, int) // //   PURPOSE: Saves instance handle and creates main window // //   COMMENTS: // //        In this function, we save the instance handle in a global variable and //        create and display the main program window. // BOOL InitInstance(HINSTANCE hInstance, int nCmdShow) {    HWND hWnd;    hInst = hInstance; // Store instance handle in our global variable    hWnd = CreateWindow(szWindowClass, szTitle, WS_OVERLAPPEDWINDOW,       CW_USEDEFAULT, 0, CW_USEDEFAULT, 0, NULL, NULL, hInstance, NULL);    if (!hWnd)    {       return FALSE;    }    ShowWindow(hWnd, nCmdShow);    UpdateWindow(hWnd);    return TRUE; } // //  FUNCTION: WndProc(HWND, unsigned, WORD, LONG) // //  PURPOSE:  Processes messages for the main window. // //  WM_COMMAND - process the application menu //  WM_PAINT - Paint the main window //  WM_DESTROY - post a quit message and return // // LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) { int wmId, wmEvent; PAINTSTRUCT ps; HDC hdc; TCHAR szHello[MAX_LOADSTRING]; LoadString(hInst, IDS_HELLO, szHello, MAX_LOADSTRING); switch (message)  { case WM_COMMAND: wmId    = LOWORD(wParam);  wmEvent = HIWORD(wParam);  // Parse the menu selections: switch (wmId) { case IDM_ABOUT:   DialogBox(hInst, (LPCTSTR)IDD_ABOUTBOX, hWnd, (DLGPROC)About);   break; case IDM_EXIT:   DestroyWindow(hWnd);   break; default:   return DefWindowProc(hWnd, message, wParam, lParam); } break; case WM_PAINT: hdc = BeginPaint(hWnd, &ps); // TODO: Add any drawing code here... RECT rt; GetClientRect(hWnd, &rt); DrawText(hdc, szHello, strlen(szHello), &rt, DT_CENTER); EndPaint(hWnd, &ps); break; case WM_DESTROY: PostQuitMessage(0); break; default: return DefWindowProc(hWnd, message, wParam, lParam);    }    return 0; } // Mesage handler for about box. LRESULT CALLBACK About(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam) { switch (message) { case WM_INITDIALOG: return TRUE; case WM_COMMAND: if (LOWORD(wParam) == IDOK || LOWORD(wParam) == IDCANCEL)  { EndDialog(hDlg, LOWORD(wParam)); return TRUE; } break; }     return FALSE; }

    標簽: 計算器 學生

    上傳時間: 2016-12-29

    上傳用戶:767483511

  • 簡單的計算器

    // 學生管理.cpp : Defines the entry point for the application. // #include "stdafx.h" #include "resource.h" #define MAX_LOADSTRING 100 // Global Variables: HINSTANCE hInst; // current instance TCHAR szTitle[MAX_LOADSTRING]; // The title bar text TCHAR szWindowClass[MAX_LOADSTRING]; // The title bar text // Foward declarations of functions included in this code module: ATOM MyRegisterClass(HINSTANCE hInstance); BOOL InitInstance(HINSTANCE, int); LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM); LRESULT CALLBACK About(HWND, UINT, WPARAM, LPARAM); struct person {   char name[10];   int ID;   int cj_yw;   int cj_sx;   struct person* next;   struct person* pro; }per; int APIENTRY WinMain(HINSTANCE hInstance,                      HINSTANCE hPrevInstance,                      LPSTR     lpCmdLine,                      int       nCmdShow) {   // TODO: Place code here. MSG msg; HACCEL hAccelTable; // Initialize global strings LoadString(hInstance, IDS_APP_TITLE, szTitle, MAX_LOADSTRING); LoadString(hInstance, IDC_MY, szWindowClass, MAX_LOADSTRING); MyRegisterClass(hInstance); // Perform application initialization: if (!InitInstance (hInstance, nCmdShow))  { return FALSE; } hAccelTable = LoadAccelerators(hInstance, (LPCTSTR)IDC_MY); // Main message loop: while (GetMessage(&msg, NULL, 0, 0))  { if (!TranslateAccelerator(msg.hwnd, hAccelTable, &msg))  { TranslateMessage(&msg); DispatchMessage(&msg); } } return msg.wParam; } // //  FUNCTION: MyRegisterClass() // //  PURPOSE: Registers the window class. // //  COMMENTS: // //    This function and its usage is only necessary if you want this code //    to be compatible with Win32 systems prior to the 'RegisterClassEx' //    function that was added to Windows 95. It is important to call this function //    so that the application will get 'well formed' small icons associated //    with it. // ATOM MyRegisterClass(HINSTANCE hInstance) { WNDCLASSEX wcex; wcex.cbSize = sizeof(WNDCLASSEX);  wcex.style = CS_HREDRAW | CS_VREDRAW; wcex.lpfnWndProc = (WNDPROC)WndProc; wcex.cbClsExtra = 0; wcex.cbWndExtra = 0; wcex.hInstance = hInstance; wcex.hIcon = LoadIcon(hInstance, (LPCTSTR)IDI_MY); wcex.hCursor = LoadCursor(NULL, IDC_ARROW); wcex.hbrBackground = (HBRUSH)(COLOR_WINDOW+1); wcex.lpszMenuName = (LPCSTR)IDC_MY; wcex.lpszClassName = szWindowClass; wcex.hIconSm = LoadIcon(wcex.hInstance, (LPCTSTR)IDI_SMALL); return RegisterClassEx(&wcex); } // //   FUNCTION: InitInstance(HANDLE, int) // //   PURPOSE: Saves instance handle and creates main window // //   COMMENTS: // //        In this function, we save the instance handle in a global variable and //        create and display the main program window. // BOOL InitInstance(HINSTANCE hInstance, int nCmdShow) {    HWND hWnd;    hInst = hInstance; // Store instance handle in our global variable    hWnd = CreateWindow(szWindowClass, szTitle, WS_OVERLAPPEDWINDOW,       CW_USEDEFAULT, 0, CW_USEDEFAULT, 0, NULL, NULL, hInstance, NULL);    if (!hWnd)    {       return FALSE;    }    ShowWindow(hWnd, nCmdShow);    UpdateWindow(hWnd);    return TRUE; } // //  FUNCTION: WndProc(HWND, unsigned, WORD, LONG) // //  PURPOSE:  Processes messages for the main window. // //  WM_COMMAND - process the application menu //  WM_PAINT - Paint the main window //  WM_DESTROY - post a quit message and return // // LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) { int wmId, wmEvent; PAINTSTRUCT ps; HDC hdc; TCHAR szHello[MAX_LOADSTRING]; LoadString(hInst, IDS_HELLO, szHello, MAX_LOADSTRING); switch (message)  { case WM_COMMAND: wmId    = LOWORD(wParam);  wmEvent = HIWORD(wParam);  // Parse the menu selections: switch (wmId) { case IDM_ABOUT:   DialogBox(hInst, (LPCTSTR)IDD_ABOUTBOX, hWnd, (DLGPROC)About);   break; case IDM_EXIT:   DestroyWindow(hWnd);   break; default:   return DefWindowProc(hWnd, message, wParam, lParam); } break; case WM_PAINT: hdc = BeginPaint(hWnd, &ps); // TODO: Add any drawing code here... RECT rt; GetClientRect(hWnd, &rt); DrawText(hdc, szHello, strlen(szHello), &rt, DT_CENTER); EndPaint(hWnd, &ps); break; case WM_DESTROY: PostQuitMessage(0); break; default: return DefWindowProc(hWnd, message, wParam, lParam);    }    return 0; } // Mesage handler for about box. LRESULT CALLBACK About(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam) { switch (message) { case WM_INITDIALOG: return TRUE; case WM_COMMAND: if (LOWORD(wParam) == IDOK || LOWORD(wParam) == IDCANCEL)  { EndDialog(hDlg, LOWORD(wParam)); return TRUE; } break; }     return FALSE; }

    標簽: 學生 計算器

    上傳時間: 2016-12-29

    上傳用戶:767483511

亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲一区二区在线免费观看视频 | 亚洲精品视频一区| 国产精品女同互慰在线看| 欧美日韩一区二区三区免费看| 欧美mv日韩mv亚洲| 久久尤物视频| 欧美不卡视频一区发布| 欧美黑人在线播放| 国产精品成人在线观看| 国产农村妇女精品| 亚洲国产精品欧美一二99| 亚洲一区二区三区在线观看视频| 黄色国产精品一区二区三区| 欧美精品一区二区蜜臀亚洲 | 国产精品久久久久久模特 | 久久综合五月天婷婷伊人| 久久精品国产在热久久| 老巨人导航500精品| 欧美日韩成人网| 国产综合久久| 一区二区三区精品| 麻豆精品传媒视频| 国产精品视频久久| 99精品久久免费看蜜臀剧情介绍| 狠狠色综合色区| 亚洲手机在线| 欧美日韩一区二区三区在线视频| 激情综合色综合久久| 激情综合色综合久久| 久久综合电影| 久久综合久色欧美综合狠狠 | 国产亚洲人成a一在线v站 | 亚洲女人小视频在线观看| 欧美精品在线一区二区| 欧美久久在线| 136国产福利精品导航网址| 午夜精品久久久久久久99水蜜桃 | 日韩一级视频免费观看在线| 午夜视频久久久久久| 欧美剧在线观看| 麻豆精品视频| 18成人免费观看视频| 久久嫩草精品久久久久| 国内综合精品午夜久久资源| 香蕉久久夜色精品国产使用方法| 国产欧美日韩精品在线| 午夜一区二区三视频在线观看| 激情文学综合丁香| 亚洲欧美制服另类日韩| 国产伦精品一区二区三区视频孕妇| 欧美成人在线免费观看| 在线观看中文字幕亚洲| 欧美精品一区二区三区久久久竹菊| 亚洲精品国产精品国自产观看浪潮| 欧美激情精品久久久久| 国产精品99久久久久久久女警| 国产精品久久久久久久久免费桃花| 午夜国产不卡在线观看视频| 国产丝袜美腿一区二区三区| 老司机精品视频网站| 国产精品视频自拍| 久久精品国产999大香线蕉| 亚洲第一区在线观看| 欧美网站在线观看| 久久精品论坛| 日韩网站在线看片你懂的| 国产精品一卡| 欧美大片网址| 欧美在线看片| 日韩午夜在线播放| 国产亚洲一区二区三区在线播放 | 久久综合色影院| 亚洲高清久久| 国产精品无码永久免费888| 欧美成va人片在线观看| 欧美一区二视频| 亚洲影院免费| 国外精品视频| 国产精品香蕉在线观看| 欧美久久久久免费| 老司机午夜免费精品视频| 欧美亚洲一区在线| 亚洲免费视频中文字幕| 亚洲高清久久久| 亚洲女同精品视频| 国产精品v一区二区三区| 久久男人av资源网站| 欧美综合第一页| 久久国产高清| 久久精品伊人| 久久久久欧美| 性欧美大战久久久久久久免费观看| 亚洲乱码视频| 亚洲色在线视频| 亚洲一区二区三区国产| 亚洲视频专区在线| 亚洲自拍偷拍色片视频| 亚洲欧美日韩中文播放| 亚洲一区二区综合| 欧美在线观看视频| 久久蜜桃精品| 欧美精品一区二区精品网| 欧美性做爰猛烈叫床潮| 99精品视频免费观看视频| 亚洲精品欧美一区二区三区| 亚洲美女免费精品视频在线观看| 99精品欧美一区二区三区综合在线| 亚洲特色特黄| 久久夜色精品国产欧美乱| 欧美日韩三级| 红桃视频亚洲| 亚洲精品乱码久久久久久| 亚洲精品亚洲人成人网| 亚洲少妇在线| 日韩小视频在线观看| 亚洲一区高清| 一本色道久久综合亚洲二区三区| 99re66热这里只有精品4| 亚洲一区二区三区在线看| 午夜精品久久久久久久男人的天堂 | 欧美四级电影网站| 亚洲视频碰碰| 亚洲一区二区三区精品在线观看| 午夜视频一区二区| 亚洲欧美久久久| 欧美一区日韩一区| 99精品视频一区二区三区| 在线精品视频一区二区| 亚洲一区二区三区视频| 久久久久久久波多野高潮日日| 亚洲一区二区3| 亚洲午夜精品17c| 欧美在线视频免费| 欧美黄色片免费观看| 狠狠色丁香婷婷综合久久片| 国产精品久久久一区二区三区| 欧美性猛交99久久久久99按摩| 亚洲国产成人av| 美乳少妇欧美精品| 激情小说另类小说亚洲欧美| 亚洲丰满在线| 亚洲影视九九影院在线观看| 欧美另类69精品久久久久9999| 欧美日韩国产91| 狠狠综合久久av一区二区小说| 亚洲人精品午夜| 久久亚洲国产精品一区二区| 国产精品午夜av在线| 久久久久久999| 国产精品大片| 一区二区高清| 国产精品看片你懂得| 亚洲午夜精品网| 欧美91大片| 亚洲制服少妇| 国产一区二区三区av电影| 久久成年人视频| 国产午夜精品全部视频在线播放 | 久久久免费av| 国产欧美一级| 欧美三级欧美一级| 亚洲黄色毛片| 久久综合九色99| 激情av一区二区| 久久野战av| 亚洲视频在线一区| 国产精品久久一区二区三区| 一区二区三区精品| 国产情侣久久| 欧美日韩mv| 这里只有精品视频在线| 国产精品欧美经典| 欧美成人免费播放| 久久久久国产精品厨房| 国产精品一区一区| 免费一级欧美片在线观看| 亚洲欧美成人综合| 亚洲国产电影| 美女露胸一区二区三区| 亚洲日本欧美| 在线播放亚洲| 欧美刺激午夜性久久久久久久| 亚洲国产精品va| 欧美揉bbbbb揉bbbbb| 另类欧美日韩国产在线| 欧美在线首页| 在线成人亚洲| 一区二区三区高清| 欧美日韩成人激情| 亚欧成人在线| 亚洲网站在线看| 亚洲无吗在线| 国产曰批免费观看久久久| 欧美精品在线一区二区| 亚洲黄色免费网站| 亚洲精品在线观| av不卡在线观看| 国产一区二区久久| 国产精品美女久久久久久2018 | 欧美一区二区三区男人的天堂|