WPF的Windows应用程序的登录代码

问题描述:

登录文本框
密码passwordcontrol
部门组合框

登录按钮


这是我的设计,请在不使用数据库的情况下发送登录代码而不使用某些预定义的静态凭据使用
像登录登录一样,密码可以帮助我

login textbox
password passwordcontrol
department combobox

loginbutton


this is my design pls send thelogin code without using database some predefined static credentials use
like login-login, password-password ok pls help me

如果您的密码永不更改,则您的系统既琐碎又几乎无用.您需要做的就是,当有人按下登录"时,您必须检查他们给您的值是否有效.这是如此琐碎,以至于即使您无法尝试,最好的选择就是放弃WPF,而只专注于学习C#或VB(您要求我们完成所有工作,甚至没有指定语言,这是关于如何操作的另一条线索暂时失去了您).慢慢而好地学习,不要只是让随机的陌生人让您腾出工作来发展自己的技能.
If your password never changes, then your system is both trivial, and close to useless. All you need to do, is when someone presses ''login'', you have to check if the values they gave you are valid. This is so trivial that if you cannot even attempt it, your best bet is to abandon WPF and just focus on learning C# or VB ( you ask us to do all your work, and did not even specify a language, another clue as to how lost you probably are ), for now. Learn slowly and well, don''t just ask random strangers to spare you the job of developing skills of your own.