剪切,复制,粘贴代码 [英] Cut, Copy, Paste code

查看:104
本文介绍了剪切,复制,粘贴代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




在winform应用程序中,我需要提供一个带有剪切,复制和粘贴选项的菜单。

我用什么代码来完成切割,复制和粘贴字段的功能

a winfrom?


谢谢


问候

Hi

In a winform app I need to provide a menu with Cut, Copy and Paste options.,
What code do I use to accomplish cut, copy and paste features for fields on
a winfrom?

Thanks

Regards

推荐答案

John,


你现在可能是那些在这些中要求最多的人$ b新闻组,没问题,但只需在MSDN中复制你的问题就可以获得你想要的所有答案。


设置你的时候搜索字符串比使用诀窍设置为

well -blogs -forums以防止你得到所有类型的rubish。

http://msdn2.microsoft.com/en-us/default.aspx


如果你无法得到答案,或者你不清楚,那么

在这里提问。


肺心病


" John" < in ** @ nospam.infovis.co.ukschreef in bericht

news:Oq ************** @ TK2MSFTNGP06.phx.gbl ...
John,

You are probably at the moment the guy who asks the most in these
newsgroups, no problem, however by just copying in your problem in MSDN you
get all the answers you want about that.

When you set your search string than use the trick to set as
well -blogs -forums to prevent that you get all kind of rubish.

http://msdn2.microsoft.com/en-us/default.aspx

When you can not get your answer there, or it is not clear to you, then
place your question here.

Cor

"John" <in**@nospam.infovis.co.ukschreef in bericht
news:Oq**************@TK2MSFTNGP06.phx.gbl...




在winform应用程序中,我需要提供剪切,复制和粘贴的菜单

选项。,我用什么代码来完成剪切,复制和粘贴功能

for winfrom上的字段?


谢谢


问候
Hi

In a winform app I need to provide a menu with Cut, Copy and Paste
options., What code do I use to accomplish cut, copy and paste features
for fields on a winfrom?

Thanks

Regards


你想要剪切,复制和粘贴什么?整个

表格上显示的数据?文本框中的文字?


RobinS。

GoldMail.com


" John" < in ** @ nospam.infovis.co.ukwrote in message

news:Oq ************** @ TK2MSFTNGP06.phx.gbl ...
What are you trying to cut, copy, and paste? The data displayed on the whole
form? Text in a textbox?

RobinS.
GoldMail.com

"John" <in**@nospam.infovis.co.ukwrote in message
news:Oq**************@TK2MSFTNGP06.phx.gbl...




在winform应用程序中,我需要提供剪切,复制和粘贴的菜单

选项。,我用什么代码来完成剪切,复制和粘贴功能

for winfrom上的字段?


谢谢
<问候
Hi

In a winform app I need to provide a menu with Cut, Copy and Paste
options., What code do I use to accomplish cut, copy and paste features
for fields on a winfrom?

Thanks

Regards


3月20日上午4:22,约翰 < i ... @nospam.infovis.co.ukwrote:
On Mar 20, 4:22 am, "John" <i...@nospam.infovis.co.ukwrote:




在winform应用程序中我需要提供带有剪切,复制和粘贴选项的菜单。

我用什么代码来完成

a winfrom中字段的剪切,复制和粘贴功能?


谢谢


问候
Hi

In a winform app I need to provide a menu with Cut, Copy and Paste options.,
What code do I use to accomplish cut, copy and paste features for fields on
a winfrom?

Thanks

Regards



John,

For你的目的,有一个内置模板这样做。插入

MenuStrip控件。右键单击 - 插入标准项目。


现在创建了您正在寻找的项目,现在只需要

来为每个项目编写代码。

John,
For your purpose, there''s a built-in template does this. Insert
MenuStrip control. Right click -Insert Standard Items.

Now the items that you''re looking for are created, now just you need
to write codes for each item.


这篇关于剪切,复制,粘贴代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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