Windows 商店应用程序 - 检测应用程序的首次启动 [英] Windows store apps - detect first launch of the app

查看:43
本文介绍了Windows 商店应用程序 - 检测应用程序的首次启动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当用户第一次启动应用程序时,我需要显示一个欢迎屏幕"(类似于许可证).每个用户只应显示此屏幕一次.由于我是 Windows 开发的初学者,有人可以指导我吗?

I need to show a "welcome screen" (something like a license) when the user had first launched the application. This screen should be shown only once per user. Could someone guide me with this since I'm a beginner in windows development?

推荐答案

您可以使用 本地存储设置 用于存储有关欢迎屏幕"是否已打开的数据显示与否,并使用它来确定是否必须在启动时显示屏幕.

You can use local storage or settings to store data on whether the "welcome screen" has been shown or not and use that to determine if the screen has to be shown on startup.

这篇关于Windows 商店应用程序 - 检测应用程序的首次启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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