runxinzhi.com
首页
百度搜索
剪贴板编程
粘贴文字
string
str
=
"
我写的东东
"
;
Clipboard.SetDataObject(str);
IDataObject iData
=
System.Windows.Forms.Clipboard.GetDataObject();
if
(iData.GetDataPresent(DataFormats.Text))
{
textBox1.Text
=
(
string
)iData.GetData(DataFormats.Text);
}
粘贴图像
private
void
button5_Click(
object
sender, System.EventArgs e)
{
Clipboard.SetDataObject(pictureBox1.Image);
}
private
void
button6_Click(
object
sender, System.EventArgs e)
{
IDataObject iData
=
System.Windows.Forms.Clipboard.GetDataObject();
pictureBox2.Image
=
(Bitmap)iData.GetData(DataFormats.Bitmap);
}
相关阅读:
Jenkins持续集成
爬豆瓣保存到sqlite3
爬豆瓣保存到Excel
sqlite3数据库的增删查改
用pandas和matplotlib对用户消费行为分析
TCP请求
fastjson
断言
将结果写入文件
加解密
原文地址:https://www.cnblogs.com/lidune/p/546687.html
最新文章
scrapyd和scrapyd-client使用教程
python 代理的使用
python request Payload 数据处理
python 加密解密包安装 crypto
pymysql实现从a表过滤出有效信息添加至b表
python 装饰器统计某个函数的运行时间
python selenium 爬取淘宝
python 云打码 http接口
python __dict__ 跟 dir()的区别
python设计模式之单例
热门文章
Django设置查看原生SQL语句
scrapy设置代理的方法
Django解决跨域问题
Python爬虫 【requests】request for humans
Django-CSRF跨站请求伪造防护
Django【部署】uwsgi+nginx
scrapy-redis 分布式爬虫
数据库【mongodb】之pymongo
postman
禅道项目管理
Copyright © 2020-2023
润新知