简体   繁体   中英

How to display popup window (not tool window) from Visual Studio extension?

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.

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!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM