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

C# 监控Windows剪贴板程序

于 2023-08-14 发布 文件大小:13.63 kB
0 208
下载积分: 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 个回复

  • Single round robin tournament players winning sequence to solve the problem name...
    单循环赛中选手胜负序列求解问题 名称:单循环赛中选手胜负序列求解问题 内容:有n个选手 P 1 ,P 2 ,P 3 ,… ,P n 参加了的单循环赛,每对选手之间非胜即负。现要求求出一个选手序列 P 1 ,P 2 ,P 3 ,… ,P n , 使其满足 P i 胜 P i+ 1 (i=1,… ,n-1) 。 -Single round robin tournament players winning sequence to solve the problem name: the outcome of single round-robin tournament players to solve the problem sequence elements: There are n-player P 1, P 2, P 3, ..., P n participated in a single round-robin between each pair of players Non-win or negative. Players are now required to find a sequence of P 1 " , P 2" , P 3 " , ..., P n" , to meet the P i " W P i+ 1" (i = 1, ..., n-1).
    2022-04-01 08:15:51下载
    积分:1
  • 空中战机游戏 HTML5源码 1.0
    HTML5技术编写的空中战机小游戏源码,可在手机或其它移动设备上玩。画质不错,游戏反应速度也可以,代码相当完整,游戏运行界面请参考上图。
    2022-06-21 14:40:52下载
    积分:1
  • 很好的一个VB程序 可以作为学生期末作业 是一个综合实验
    很好的一个VB程序 可以作为学生期末作业 是一个综合实验-Good one VB program can work as a student is a comprehensive end of experiment
    2022-02-14 19:50:47下载
    积分:1
  • EcHmi(容易控制的人
    EcHmi(Easy Control Human-Machine Interaction )是一个通用的工控软件人机介面组态软件。作者十多年从事工控行业软件的开发,深知工控组态软件的可靠性、易用性、灵活性的重要性。随着应用需求和技术的发展,一个典型的工控软件包括RTDB、HDB、HMI、REPORT、WEB五大部分,我们不可能将每一部分都做到国外产品如iFix的水平,为何不选取其中一部分作为重点把它做好呢?EcHmi从HMI入手,从2001年的1.0版开始,到目前的8.1版,历经5年时间,通过不断的应用、改进,相信能给您带来惊喜。-EcHmi (Easy Control Human-Machine Intera ction) is a generic industrial control software configuration man-machine interface software. Author of more than 10 years engaged in the industrial development of the software industry, well aware Configuration software reliability, ease of use, the importance of flexibility. With the application demands and technological development, a typical industrial control software including RTDB, mule, HMI, REPORT, WEB five majority, it is impossible for us to do each and every part of foreign products, such as the iFix level, Why not selected as a key part of it better? EcHmi HMI from the start, from the 2001 version 1.0, the current version 8.1. After five years, through continuous use,
    2022-02-15 14:55:33下载
    积分:1
  • array stack and the realization Chain stack code
    数组堆栈与链表堆栈的实现代码-array stack and the realization Chain stack code
    2023-06-27 20:10:03下载
    积分:1
  • least squares curve fitting Author : Anonymous article Source : unknown number o...
    最小二乘法曲线拟合 作者:佚名 文章来源:不详 点击数:164 更新时间:2006-1-4 【字体:小 大】【发表评论】【加入收藏】【告诉好友】【打印此文】【关闭窗口】 //最小二乘法曲线拟合 typedef CArrayCDoubleArray BOOL CalculateCurveParameter(CDoubleArray *X,CDoubleArray *Y,long M,long N,CDoubleArray *A) { //X,Y -- X,Y两轴的坐标 //M -- 结果变量组数 //N -- 采样数目 //A -- 结果参数   文章录入:admin 责任编辑:admin   -least squares curve fitting Author : Anonymous article Source : unknown number of hits : 164 updated : 2006-1-4 Text : big or small-- [comment] [collections] [accession told friends] [Print this article] [Close :// least-squares method curve fitting typedef CArray
    2022-05-27 23:23:51下载
    积分:1
  • openssl编程
    这是一本学习openssl编程的个人觉得最好的文档,里面还包含了很多采用c语言编写的代码。
    2023-01-14 20:10:04下载
    积分:1
  • 宣读了一份tlc549 ADC的参考vcc使用软件SPI和存储8位数字代码在adcdata 。该tlc549采样,在一个连续循环。如果adcdata >
    宣读了一份tlc549 ADC的参考vcc使用软件SPI和存储8位数字代码在adcdata 。该tlc549采样,在一个连续循环。如果adcdata > 0.5 * vcc , p1.0设置,否则复位。aclk为N /甲mclk = smclk =预设会计处〜 800k vcc必须至少为3V为tlc549 -Read a tlc549 ADC reference vcc using software SPI and 8-digit code stored in the adcdata. The TLC549 sampling, in a continuous cycle. If adcdata
    2022-03-26 15:00:02下载
    积分:1
  • 算24啊。输入四个1到13得数字,通过四则运算得到24。可以通过他自动得出所有方法。...
    算24啊。输入四个1到13得数字,通过四则运算得到24。可以通过他自动得出所有方法。-count 24. Input 4 1-13 figure through four operations to be 24. Can he come all the way automatically.
    2022-07-02 10:02:30下载
    积分:1
  • java写的弹球游戏
    java写的弹球游戏-the pinball game
    2023-03-14 04:00:04下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载