拖放电子邮件地址 [英] Drag and Drop email addresses

查看:142
本文介绍了拖放电子邮件地址的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好我希望能够将Outlook中的电子邮件地址拖放到我的应用程序中(甚至只是从MS Word中删除文本)

Hi i want to be able to receive drag and drop of email addresses from Outlook to my application (or even just text from MS Word)

但是我的应用程序不是我尝试这个时接收DragEnter事件...(从应用程序中的其他文本框拖动工作正常)。

But my application is not receiving DragEnter event when i trying this... (drag from other textbox in the application is working perfectly).

请帮忙。

抱歉因为我破碎的英语。

And sorry for my broken english.

推荐答案

你好,

 

您必须使用 RichTextBox 而不是 textBox ,并确保" EnabledAutoDragDrop "属性设置为
True

You will have to use a RichTextBox instead of a textBox and make sure the "EnabledAutoDragDrop" property is set to True.


这篇关于拖放电子邮件地址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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