如何从 Visual Studio 扩展显示弹出窗口(不是工具窗口)?
我想低调地要求我的扩展程序的用户在使用 2 周后进行捐赠。 非模态窗口比模态窗口更好。
I want to unobtrusively ask users of my extension to donate after 2 weeks of usage.
A non-modal window would be better than a modal one.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是什么阻止您使用普通的 WinForm 表单并调用它的 DoModal() 方法。尝试找到 Visual Studio 的顶层窗口作为父窗口传入。
然而,您的用户会讨厌您,当他们启动 Visual Studio 时,发现早上喝完咖啡后,它就挡住了您的窗户!
What stopping you using a normal WinForm Form and calling it's DoModal() method. Try to find the top level windows of Visual Studio to pass in as the parent.
However your users make hate you, when they start up Visual Studio, and find that after the morning cut of coffee, it has blocked on your window!