创建登录屏幕 [英] Creating a Logon Screen

查看:25
本文介绍了创建登录屏幕的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

制作密码/登录屏幕的最佳方法是什么?我在某处读到最好使用弹出控件.如果是这样,我到底需要在 App.xaml 中在哪里创建它?

What is the best way to make password/logon screen? Iread somewhere that it is better to use a popup control. If so where exactly do I need to create it, in App.xaml?

推荐答案

在为 Windows Phone 7 应用程序实现登录屏幕时,您需要考虑很多事情.这是一个示例,可以让您了解如何开始,如果你还没有.登录屏幕的一个重要方面是它出现在返回堆栈"上——当您在应用程序中时会增长的列表,该列表中的每个项目都可以通过返回"按钮访问.理想情况下,您不希望用户按下后退按钮并查看登录屏幕.换句话说,登录屏幕不应该出现在返回堆栈"中.因此,最好将登录屏幕实现为弹出窗口,请参阅 Peter Torr 的帖子 讨论了这个问题.

There are number of things you need to consider while implementing a login screen for your Windows Phone 7 application. Here is a sample that can give you an idea of how to get started, if you haven't. One of the important aspects of a login screen is its appearance on the "back stack" - the list that grows while you are within your application, each item in this list is accessible through the "back" button. Ideally, you wouldn't want the user to press the back button and view the login screen. In other words, the login screen should never be in the "back stack". Therefore, it is probably best to implement the login screen as popup, see Peter Torr's post discussing this.

彼得Torr 发表了一篇关于地方"的文章,它可以帮助您设计带有登录屏幕的应用程序.

Peter Torr published an article on "Places" which could help you design your application with the login screen.

这篇关于创建登录屏幕的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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