登录
首页 » 其他 » C# 监控Windows剪贴板程序

C# 监控Windows剪贴板程序

于 2023-08-14 发布 文件大小:13.63 kB
0 104
下载积分: 2 下载次数: 1

代码说明:

C# 编写的监控Windows剪贴板的小程序,这里面有计时器的相关创建方法,设置计时器间隔为1000毫秒并启动计时器,监控剪切板并判断剪贴板中是否存在文本数据,然后将剪贴板中的内容显示在richTextBox1控件中。下面的代码是本程序的核心:   private void Frm_Main_Load(object sender, EventArgs e)   {    timer1.Interval = 1000;//设置计时器间隔为1000毫秒    timer1.Start();//启动计时器   }   private void timer1_Tick(object sender, EventArgs e)   {    if (Clipboard.ContainsText())//判断剪贴板中是否存在文本数据    richTextBox1.Text = Clipboard.GetText();//将剪贴板中的内容显示在richTextBox1控件中   }

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 2022-05-14 14:28:54下载
    积分:1
  • cell
    免注册cell表哥控件 可以任意合并拆分单元格等!-cell-free registration can be arbitrary control Cousin merger Resolution cells, etc.!
    2023-01-17 17:05:04下载
    积分:1
  • c语言做的猜数字游戏,这个游戏的规则比较简单,一般两个人玩,一方出数字,一方猜。出数字的人要想好一个没有重复数字的4位数,不能让猜得人知道。猜的人就可以开始猜。...
    c语言做的猜数字游戏,这个游戏的规则比较简单,一般两个人玩,一方出数字,一方猜。出数字的人要想好一个没有重复数字的4位数,不能让猜得人知道。猜的人就可以开始猜。每猜一个数字,出数者就要根据这个数字给出几A几B,其中A前面的数字表示位置正确的数的个数,而B前的数字表示数字正确而位置不对的数的个数。 -c language to number guessing game, the rules of the game is relatively simple, general two people to play, one out of numbers, one guess. To a good number of people out of a 4-digit number does not repeat not be allowed to guess one knows. Guess people can start guessing. Each guess a number, a number of those who should according to this figure gives a few A few B, where A numerical position in front of the number of correct number, while the B before the numbers indicate the number of correct and incorrect number of locations the number of .
    2022-12-26 22:50:03下载
    积分:1
  • 用于制作安装卸载程序的源代码VB的
    用于制作安装卸载程序的源代码VB的-unloading installation for the production of a program"s source code in VB
    2022-06-16 20:54:37下载
    积分:1
  • VC++初级多线程编程实例源码集
    个人整理的一些比较基础的VC++初级多线程编程实例集,包括安全终止线程、创建UI线程、创建Worker线程、等待线程结束、挂起和恢复线程、获得线程的退出码、使用互斥量、使用临界区、使用信号量等内容,相信对VC++初学者来说是相当实用的。
    2022-02-05 00:35:59下载
    积分:1
  • 提出了一种基于样本的分级检索 MPEG 视频的新方法:首先用I 帧的dct_dc_size 字段快速粗检,然后用断层摄影(tomography)法分析B 帧...
    提出了一种基于样本的分级检索 MPEG 视频的新方法:首先用I 帧的dct_dc_size 字段快速粗检,然后用断层摄影(tomography)法分析B 帧运动矢 量的时空分布特性以进一步缩小结果集,最后用DC 图像的精确匹配方法验证检索结果.试验结果表明,本方法 所需计算量较小,且可保证较高的检索精度.-presents a sample classification based on MPEG video retrieval of the new method : First of all I frame with the rapid field dct_dc_size rough Frederick, and then use tomography (tomography) Analysis of B pictures motion vector space-time distribution to further narrow the results set, and DC Images precision Matching test results retrieval. test results showed that the calculation method for small and can guarantee higher retrieval accuracy.
    2022-03-16 00:41:37下载
    积分:1
  • Java ejb基础级实例
    一个简单的Java ejb基础级实例,例子主要实现一个与时间有关的方法函数。创建一个访问EJB的客户端应用程序,里面的函数用于使用本地接口产生一个远程接口的应用,通过Bean使用远程接口方法访问数据。。发布EJB文件,然后运行客户端测试程序。。
    2022-05-22 06:26:20下载
    积分:1
  • 一个小日记本的程序 挺好用的,试一试,大家参考参考
    一个小日记本的程序 挺好用的,试一试,大家参考参考-a small diary of this process is very good to use, try your information.
    2023-02-18 02:10:03下载
    积分:1
  • 这是一本能够详细理解关于arm体系结构虚拟内存机制的不可多得的好书!...
    这是一本能够详细理解关于arm体系结构虚拟内存机制的不可多得的好书!-This is a detailed understanding on the arm architecture virtual memory mechanism for rare books!
    2023-09-03 05:00:02下载
    积分:1
  • 该游戏是使用VC++平台开发的简单游戏,可供游戏爱好者学习
    该游戏是使用VC++平台开发的简单游戏,可供游戏爱好者学习
    2023-02-11 23:15:03下载
    积分:1
  • 696518资源总数
  • 106010会员总数
  • 4今日下载