-
Have you noticed the cool ghost image that Windows Explorer produces when you st...
Have you noticed the cool ghost image that Windows Explorer produces when you start dragging files/folders from it? Well, I wanted to implement this in a C# project when dragging files between it and Windows Explorer. After a lot of Googling, I found out that there are three directions to start working on, as follows:
Using a "custom" cursor created from a MemoryStream initialized from an Image, as shown in this article.
Using the ImageList_BeginDrag and related APIs, as shown in this article: Dragging tree nodes in C#.
Using the IDragSourceHelper and IDropTargetHelper interfaces.
- 2022-03-05 15:47:46下载
- 积分:1
-
这是纸牌游戏斗地主,算法完整,可以单机,网络连线玩
这是纸牌游戏斗地主,算法完整,可以单机,网络连线玩 -This is a card game Doude Zhu, the algorithm complete, can be stand-alone, network connection to play
- 2022-03-24 08:17:20下载
- 积分:1
-
javascript实现的一个工作流图形编辑器,还需完善
javascript实现的一个工作流图形编辑器,还需完善-javascript realize a graphical workflow editor, needs to be perfect
- 2022-02-21 02:30:22下载
- 积分:1
-
ModemXH是一个可以测试Modem厂家和型号的VB源程序
ModemXH是一个可以测试Modem厂家和型号的VB源程序-ModemXH is a test Modem manufacturers and models of VB source
- 2022-05-25 10:24:04下载
- 积分:1
-
根据ORACLE用户ID从数据库里提取已经已经执行过的语句,并导出到Access或者Excel中便于分析。也可用于跟踪所有连接数据的程序执行的。使用时需要先从数...
根据ORACLE用户ID从数据库里提取已经已经执行过的语句,并导出到Access或者Excel中便于分析。也可用于跟踪所有连接数据的程序执行的。使用时需要先从数据库查一下V$session中的用户ID,有兴趣的可以完善一下。-According to ORACLE user ID extracted from the database has already been implemented statement, and export to Access or Excel, to facilitate analysis. Can also be used to connect data to keep track of all the procedures implemented. Need to start with the database used to check V $ session user ID, are interested in what can be perfect.
- 2022-08-07 05:09:29下载
- 积分:1
-
用指定的位图做刷子填充整个窗口。这个程序演示如何建立画刷句柄以及将它选择到一个图形设备句柄中...
用指定的位图做刷子填充整个窗口。这个程序演示如何建立画刷句柄以及将它选择到一个图形设备句柄中-specified bitmap brush done filling the entire window. This procedure shows how to build painting brush handle, as well as its choice of a graphics equipment to handle
- 2023-07-05 17:10:03下载
- 积分:1
-
用ULM 制作的模拟银行存款系统
用ULM 制作的模拟银行存款系统-类图,用于描述各类之间的关系.-with ULM of the simulated bank deposit system-type map, used to describe the relationship between various types.
- 2023-02-10 12:05:03下载
- 积分:1
-
小木偶Win32汇编教学,将离线版本。之间的有限..
小木偶Win32汇编教学,整理后的离线网页版本。MASM32或TASM代码。-small puppet Win32 compilation teaching, putting the offline version. Between code or TASM.
- 2022-01-25 22:22:15下载
- 积分:1
-
算法实现题2
算法实现题2-3 邮局选址问题
« 问题描述:
在一个按照东西和南北方向划分成规整街区的城市里,n个居民点散乱地分布在不同的
街区中。用x 坐标表示东西向,用y坐标表示南北向。各居民点的位置可以由坐标(x,y)表示。
街区中任意2 点(x1,y1)和(x2,y2)之间的距离可以用数值|x1-x2|+|y1-y2|度量。
居民们希望在城市中选择建立邮局的最佳位置,使n个居民点到邮局的距离总和最小。
« 编程任务:
给定n 个居民点的位置,编程计算n 个居民点到邮局的距离总和的最小值。
« 数据输入:
由文件input.txt 提供输入数据。文件的第1 行是居民点数n,1£ n£ 10000。接下来n 行
是居民点的位置,每行2 个整数x 和y,-10000£ x,y£ 10000。
« 结果输出:
程序运行结束时,将计算结果输出到文件output.txt 中。文件的第1 行中的数是n 个居
民点到邮局的距离总和的最小值。
输入文件示例 输出文件示例
input.txt output.txt
5
1 2
2 2
1 3
3 -2
3 3
10
- 2022-08-26 13:24:17下载
- 积分:1
-
模拟示波器曲线
应用背景可应用在上位机软件,与下位机相连,实时分析下位机的数据情况,示例用随机数模拟示波器效果,可将此效果应用在串口通信类软件上,用下位机反馈的数据代替随机数,根据需求修改程序代码,达到个性定制示波器的原理。关键技术程序使用了scope类,是对scope类的一个应用,在源码包中单独放置了一个文件夹来放scope类,方便大家查找学习。(程序可用visual studio 2013 打开运行)
- 2022-01-26 07:11:04下载
- 积分:1