单击按钮并复制默认图像c# [英] click on button and copy a default image c#

查看:62
本文介绍了单击按钮并复制默认图像c#的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


大家好,

Hello guys,

我正在为Windows制作应用程序并使用C#,所以我想知道点击后如何制作在按钮中复制该按钮的默认图像集? 

I'm making app for windows and working with C#, so I was wondering how can I make when I click in a button it copy a default image set for that button? 

我正在构建的是用于短信或聊天图片的应用程序,因此用户点击图片(按钮) )他想使用/发送短信或聊天并进入聊天,只需点击粘贴即可粘贴图像。

What I'm build is a app for pictures for SMS or chats, so the user click on the picture(button) that he want to use/send on the SMS or chat and go to the chat and just click in Paste and the image will be pasted.

希望你们能帮助我!

问候,

谢谢

Jefferson Filho

Jefferson Filho

推荐答案

您的意思是粘贴到另一个应用程序吗? 您不能这样做,因为剪贴板仅限于文字。 如果它是您自己的应用程序,只需跟踪被推送的按钮并使用该信息在您的应用程序中执行您想要的操作。
Do you mean to paste into another application?  You cannot do that because the clipboard is limited to text.  If it is your own application simply keep track of the button that was pushed and use that information to do what you want in your application.


这篇关于单击按钮并复制默认图像c#的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆