我如何在Wpf ....创建帐户? [英] How I Create Account In Wpf ....?

查看:94
本文介绍了我如何在Wpf ....创建帐户?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当admin创建帐号

怎么可以创建?

给我代码xaml或c#code

when admin create account
how is can be create ?
give me code for xaml or c# code

推荐答案

不要问这些毫无意义的问题,而是接受关注点分离的想法 http://en.wikipedia.org/wiki/Separation_of_concerns [ ^ ]。



想想这个:WPF如何可能与某些帐户相关,无论它们是什么? UI是一回事,帐户是不同的。将它们分开。



-SA
Instead of asking such pointless questions, embrace the idea of separation of concerns: http://en.wikipedia.org/wiki/Separation_of_concerns[^].

Think at this: how WPF could possibly be related to some accounts, whatever they are? UI is one thing, and accounts is something different. Separate them.

—SA


要实现帐户,一种方法是实现授权和身份验证。



如果你想在WPF中实现授权,请参阅http://blog.magnusmontin.net/2013/03/24/custom-authorization-in-wpf/ [ ^ ]。
To implement accounts, one way to do it would be to implement authorization and authentication.

If you looking at implementing authorization in WPF, see http://blog.magnusmontin.net/2013/03/24/custom-authorization-in-wpf/[^].


这篇关于我如何在Wpf ....创建帐户?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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