Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个在启动时检查更新的应用程序。我希望该应用程序仅在更新后的第一次启动时弹出一个带有更改日志的窗口。然后在显示之后,直到下一次更新,它才会再次显示。
你可以试试:
If My.Application.Deployment.IsFirstRun Then ShowChangeLog() End If
MSDN:http: //msdn.microsoft.com/en-us/library/system.deployment.application.applicationdeployment.isfirstrun.aspx