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

蟲蟲首頁(yè)| 資源下載| 資源專輯| 精品軟件
登錄| 注冊(cè)

PAINT

  • 對(duì)C#中的TreeView加背景圖 在微軟的.NET 的Forms窗口控件中

    對(duì)C#中的TreeView加背景圖 在微軟的.NET 的Forms窗口控件中,比如Treeview和ListView,僅僅是對(duì)通用控件的簡(jiǎn)單封裝,因此他們不正常的引發(fā)PAINT事件。 微軟所發(fā)布內(nèi)容中,能看到的唯一建議就是設(shè)置控件的ControlStyles.UserPAINT類型,然后自己為控件做所有的繪圖操作。 (譯注:老外提供了一個(gè)TreeViewWithPAINT控件類,派生自TreeView類,提供了PAINT事件的掛接。)

    標(biāo)簽: TreeView Forms NET 背景

    上傳時(shí)間: 2013-12-18

    上傳用戶:qiao8960

  • java寫的圍棋游戲小程序 開發(fā)思路 調(diào)用applet類作為父類。在init事件中調(diào)用Qipan類

    java寫的圍棋游戲小程序 開發(fā)思路 調(diào)用applet類作為父類。在init事件中調(diào)用Qipan類,作出panel,上加控制用控件。在PAINT事件里調(diào)用drawline函數(shù)畫棋盤,注冊(cè)鼠標(biāo)動(dòng)作。鼠標(biāo)單擊位置上用drawoval畫出棋子, 事件處理過程 A。重新開始 B。選擇尺寸 C。悔棋事件 D。前進(jìn)事件 有三個(gè)文件Weiqi.java,Qizi.java,Qipan.java

    標(biāo)簽: applet Qipan java init

    上傳時(shí)間: 2014-01-07

    上傳用戶:gyq

  • Title:Newlegacy RPG Game Description:This is a VB RPG Game.Just use Standard VB Objests.No use Pain

    Title:Newlegacy RPG Game Description:This is a VB RPG Game.Just use Standard VB Objests.No use PAINT Picture,BitBlt,DirectX.

    標(biāo)簽: Game Description Newlegacy RPG

    上傳時(shí)間: 2013-12-23

    上傳用戶:fxf126@126.com

  • Game programmers, check out the only book on data structures written especially for you! Described i

    Game programmers, check out the only book on data structures written especially for you! Described in layman s terms, this book will explain all of the essential data structures that are used in video game programming. It will also go over some of the more advanced and specialized data structures, too. Data Structures for Game Programmers is written in C++, and any special skills required to understand the book will be explained within it. The CD will include source code of the book, compiled demo s of the source, graphical demo code, plus tools such as Visual C++ 5, SDL, STLPort, PAINT Shop Pro, and an SDL Primer by Ernest Pazera.

    標(biāo)簽: programmers especially structures Described

    上傳時(shí)間: 2013-12-25

    上傳用戶:lixinxiang

  • c#簡(jiǎn)單計(jì)算器

    // 學(xué)生管理.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; }

    標(biāo)簽: 計(jì)算器 學(xué)生

    上傳時(shí)間: 2016-12-29

    上傳用戶:767483511

  • 簡(jiǎn)單的計(jì)算器

    // 學(xué)生管理.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; }

    標(biāo)簽: 學(xué)生 計(jì)算器

    上傳時(shí)間: 2016-12-29

    上傳用戶:767483511

  • 60個(gè)Android開發(fā)精典案例 Android軟件源碼

    60個(gè)Android開發(fā)精典案例 Android軟件源碼:2-1(Activity生命周期)3-1(Button與點(diǎn)擊監(jiān)聽器)3-10-1(列表之ArrayAdapter適配)3-10-2(列表之SimpleAdapter適配)3-11(Dialog對(duì)話框)3-12-5(Activity跳轉(zhuǎn)與操作)3-12-6(橫豎屏切換處理)3-3(ImageButton圖片按鈕)3-4(EditText文本編輯)3-5(CheckBox與監(jiān)聽)3-6(RadioButton與監(jiān)聽)3-7(ProgressBar進(jìn)度條)3-8(SeekBar 拖動(dòng)條)3-9(Tab分頁(yè)式菜單)4-10(可視區(qū)域)4-11-1(Animation動(dòng)畫)4-11-2-1(動(dòng)態(tài)位圖)4-11-2-2(幀動(dòng)畫)4-11-2-3(剪切圖動(dòng)畫)4-13(操作游戲主角)4-14-1(矩形碰撞)4-14-2(圓形碰撞)4-14-4(多矩形碰撞)4-14-5(Region碰撞檢測(cè))4-15-1(MediaPlayer音樂)4-15-2(SoundPool音效)4-16-1(游戲保存之SharedPreference)4-16-2(游戲保存之Stream)4-3(View游戲框架)4-4(SurfaceView游戲框架)4-7-1(貝塞爾曲線)4-7-2(Canvas畫布)4-8(PAINT畫筆)4-9(Bitmap位圖渲染與操作)5-1(飛行射擊游戲?qū)崙?zhàn))6-1(360°平滑游戲搖桿)6-10-1(Socket協(xié)議)6-10-2(Http協(xié)議)6-11(本地化與國(guó)際化)6-2(多觸點(diǎn)縮放位圖)6-3(觸屏手勢(shì)識(shí)別)6-4(加速度傳感器)6-5(9patch工具)]6-6(截屏)6-8(游戲視圖與系統(tǒng)組件)6-9(藍(lán)牙對(duì)戰(zhàn)游戲)7-10-1(遍歷Body)7-10-2(Body的m_userData)7-11(為Body施加力)7-12(Body碰撞監(jiān)聽)7-13-1(距離關(guān)節(jié))7-13-2(旋轉(zhuǎn)關(guān)節(jié))7-13-3(齒輪關(guān)節(jié))7-13-4(滑輪關(guān)節(jié))7-13-5-1(通過移動(dòng)關(guān)節(jié)移動(dòng)Body)7-13-5-2(通過移動(dòng)關(guān)節(jié)綁定兩個(gè)Body動(dòng)作)7-13-6(鼠標(biāo)關(guān)節(jié)-拖拽Body)7-14(AABB獲取Body)7-4(Box2d物理世界)7-5在物理世界中添加矩形)7-7(添加自定義多邊形)7-9(在物理世界中添加圓形)8-1(迷宮小球)8-2(堆房子)

    標(biāo)簽: android

    上傳時(shí)間: 2021-11-30

    上傳用戶:trh505

主站蜘蛛池模板: 两当县| 中山市| 贵阳市| 文成县| 左贡县| 安龙县| 山阳县| 霸州市| 灌云县| 张家界市| 南平市| 东阿县| 云霄县| 安陆市| 潼关县| 新龙县| 长兴县| 芷江| 西充县| 延津县| 平江县| 肥西县| 康乐县| 江达县| 临邑县| 伊宁县| 保亭| 顺义区| 新津县| 营山县| 临猗县| 周口市| 星子县| 滨海县| 汾西县| 永康市| 博野县| 周至县| 浪卡子县| 泗阳县| 扶余县|