首页 > Windows开发
WinForm构造函数的作用
最近练习C#项目:何问起收藏夹(HoverTreeSCJ),实现编辑网址时,遇到这个问题:比如打开窗口后,要自动显示数据。解决方法:那么可以通过窗体的构造函数传递参数。比如窗体类: 那么新建窗体实例时就可以通过参数id传递数值,在SetUrlId 方法中读取加载数据到界面。例如 new Form_E ...
分类:Windows开发   时间:2016-06-10 12:27:02    收藏:0  评论:0  赞:0  阅读:261
25 windows_25_windows_File_Find 文件查找
windows_25_windows_File_Find 文件查找 // windows_25_windows_File_Find.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include void FindAdv1( LPSTR pszPath,LPSTR... ...
分类:Windows开发   时间:2016-06-10 12:26:19    收藏:0  评论:0  赞:0  阅读:207
简单C#、asp.net mvc验证码的实现
using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Text;using System.Drawing;using System.IO; namespace 验证码 ...
分类:Windows开发   时间:2016-06-10 12:21:00    收藏:0  评论:0  赞:0  阅读:261
3.win32窗口类
1.窗口类 窗口类包含了窗口的各种参数信息的数据结构。每个窗口都具有窗口类,基于窗口类创建窗口。每个窗口类都具有一个名称,使用之前必须注册到系统。 2.窗口类的分类 1)系统窗口类 系统已经定义好的窗口类,所有应用程序都可以直接使用。 2)应用程序全局窗口类 由用户自己定义,当前应用程序所有模块都可 ...
分类:Windows开发   时间:2016-06-10 12:18:49    收藏:0  评论:0  赞:0  阅读:140
21.6 windows_21_Library_Variable_DLL&&CPP&&DEF 动态库补充6
windows_21_Library_Variable_DLL&&CPP&&DEF 动态库补充6 CPP//第二步,增加导出声明__declspec( dllexport )/*增加导出声明*///第一步,定义全局变量int g_nValue1 = 100; // global Variable//... ...
分类:Windows开发   时间:2016-06-10 11:04:39    收藏:0  评论:0  赞:0  阅读:222
21.7 windows_21_Library_Variable_DLL_USE 动态库补充7
21.7 windows_21_Library_Variable_DLL_USE 动态库补充7 // windows_21_Library_Variable_DLL_USE.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"//第三步,导入lib文件#pragma c... ...
分类:Windows开发   时间:2016-06-10 11:03:09    收藏:0  评论:0  赞:0  阅读:300
24 windows_24_windows_file 文件系统 - 文件
windows_24_windows_file 文件系统 - 文件 // windows_24_windows_file.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include void Create( ){ //创建文件 HANDLE hFile = C... ...
分类:Windows开发   时间:2016-06-10 11:02:29    收藏:0  评论:0  赞:0  阅读:232
23 windows_22_windows_Directory 文件系统 - 目录
windows_22_windows_Directory 文件系统 - 目录 // windows_22_windows_Directory.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include void UseDirectory( ){ //创建目录 ... ...
分类:Windows开发   时间:2016-06-10 10:59:44    收藏:0  评论:0  赞:0  阅读:139
21.5 windows_21_Library_use_DLL_Invoke 动态库补充5
// windows_21_Library_use_DLL_Invoke.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include //2.2.2 定义函数指针,在开发工程中,一般都是大写typedef int( *DLL_ADD )( int nAdd1,... ...
分类:Windows开发   时间:2016-06-10 10:57:20    收藏:0  评论:0  赞:0  阅读:253
21.4 windows_21_Library_use_DLL 动态库补充4
windows_21_Library_use_DLL 动态库补充4 #include using namespace std;//第2.1.1步 导入 lib#pragma comment(lib,"../debug/windows_21_Library_DLL_test.lib")//第2.1.2... ...
分类:Windows开发   时间:2016-06-10 10:55:39    收藏:0  评论:0  赞:0  阅读:271
22 windows_22_windows_file 文件系统-卷
windows_22_windows_file 文件系统-卷// windows_22_windows_file.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include void RenameDisk( ){ SetVolumeLabel( "C:\\",... ...
分类:Windows开发   时间:2016-06-10 10:52:29    收藏:0  评论:0  赞:0  阅读:178
win10 Administrator
和Win7/Win8.1一样,Win10的管理员账户Administrator是默认隐藏和关闭的,因为该账户权限极高,被不法分子利用后存在极大风险。但如果你想在某些特殊情况下使用该账户,就需要手动将其开启,并且最好在使用之后及时关闭。 方法很简单,具体如下: 1、在Cortana搜索栏输入CMD,并 ...
分类:Windows开发   时间:2016-06-10 10:51:50    收藏:0  评论:0  赞:0  阅读:310
21.2 windows_21_Library_Class_DLL_USE 动态库补充2
windows_21_Library_Class_DLL_USE 动态库补充2 // windows_21_Library_Class_DLL_USE.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"//导入DLL文件#pragma comment(lib,"../... ...
分类:Windows开发   时间:2016-06-10 10:49:41    收藏:0  评论:0  赞:0  阅读:207
21.3 windows_21_Library_DLL_test&&CPP&&DEF 动态库补充3
windows_21_Library_DLL_test&&CPP&&DEF 动态库补充3 //1.1 创建DLL的项目//1.2 增加动态库函数__declspec( dllexport ) //C++导出方式int Dll_Add( int nAdd1, int nAdd2 ){ return n... ...
分类:Windows开发   时间:2016-06-10 10:49:29    收藏:0  评论:0  赞:0  阅读:231
13windows_static静态标签
13windows_static静态标签#include #include #include "resource.h"/***dat : 2015-05-22 10:59:53*file : F:\long\win32 study\Win32_Project\13Windows_static\13w... ...
分类:Windows开发   时间:2016-06-10 09:42:19    收藏:0  评论:0  赞:0  阅读:234
14win32_14_button按钮
14win32_14_button按钮#include #include CHAR szText[256] = { 0 };#define PrintLog(x) WriteConsole(g_hStdout, x, strlen(x), NULL, NULL)HINSTANCE g_hInst =... ...
分类:Windows开发   时间:2016-06-10 09:40:09    收藏:0  评论:0  赞:0  阅读:223
21window_21_Dynamic_library动态库
21window_21_Dynamic_library动态库 DLL创建//1.1 创建DLL的项目//1.2 增加动态库函数__declspec( dllexport ) //C++导出方式int Dll_Add( int nAdd1, int nAdd2 ){ return nAdd1 + nA... ...
分类:Windows开发   时间:2016-06-10 09:39:26    收藏:0  评论:0  赞:0  阅读:199
17windows_17_listbox列表框
17windows_17_listbox列表框#include #include #include "resource.h"CHAR szText[256] = { 0 };#define PrintLog(x) WriteConsole(g_hStdout, x, strlen(x), NULL,... ...
分类:Windows开发   时间:2016-06-10 09:38:49    收藏:0  评论:0  赞:0  阅读:193
15windows_15_Edit编辑框
15windows_15_Edit编辑框#include #include #include "resource.h"CHAR szText[256] = { 0 };#define PrintLog(x) WriteConsole(g_hStdout, x, strlen(x), NULL, NU... ...
分类:Windows开发   时间:2016-06-10 09:37:49    收藏:0  评论:0  赞:0  阅读:230
19windows_19_OwnerDraw自制按钮DIYBUTTON
19windows_19_OwnerDraw自制按钮DIYBUTTON#include #include CHAR szText[256] = { 0 };#define PrintLog(x) WriteConsole(g_hStdout, x, strlen(x), NULL, NULL)HIN... ...
分类:Windows开发   时间:2016-06-10 09:36:59    收藏:0  评论:0  赞:0  阅读:196
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!