登录页面 [英] Login Page
问题描述
嗨
我有一个wpf应用程序,用于显示数据库中的数据.它还具有一些动画,并具有在启动时调用的初始化方法.
I have a wpf app that displays data from a database. It also has some animations and has an initialized method that is called at startup.
我正在尝试添加登录页面.我的想法是创建一个单独的矩形,该矩形将首先显示,并包含一个登录名和用户名文本框,以及一个提交按钮.点击提交的方法将执行一些身份验证,然后显示实际的应用程序.但是,这似乎不起作用.
I am trying to add a login page. My idea was to create a separate rectangle that would be displayed first and contains a login and username textbox, as well as a submit button. The submit on click method would perform some authentication and then display the actual app. This doesn't seem to be working however.
有没有更好的方法来尝试执行此操作.
Is there a better way to try to do this. Possibly creating a separate application to handle the login, which then spawns the main app?
推荐答案
http://social.msdn.microsoft.com/Forums/en/wpf/thread/6938bd73-8807 -4a61-bff2-1712386cb8b5
i am trying to develop a login form , come take a look in my post.
这篇关于登录页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!