使用Windows窗体在c#中创建单词addin [英] Making word addin in c# with windows form
本文介绍了使用Windows窗体在c#中创建单词addin的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在制作一个视觉工作室的插件,我想添加一个窗体。
我可以通过右键单击解决方案窗口并添加一个窗体来完成。
在Windows窗体中我添加了一个按钮。
现在我的问题是:
如何在活动中插入文本单击此按钮的文件?
提前谢谢!
I am making a addin in visual studio and i would like to add a windows form.
I can do that by right clicking in the solution window and i add a windows form.
In the windows form i add a button.
Now my question is:
How can i insert text in active document by clicking this button?
Thank you in advance!
推荐答案
也许你应该看看< a href =http://msdn.microsoft.com/en-us/library/vstudio/6b9478cs.aspx>这个 [ ^ ]和 this [ ^ ]。
希望它有所帮助。
Maybe you should look at this[^] and this[^].
Hope it helps.
谢谢你的帮助nswer。
我试过了两个但问题没有解决。
其他任何建议???
Thank you for your answer.
I have tried both of them but the problem is not solved.
Any other suggestions???
这篇关于使用Windows窗体在c#中创建单词addin的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文