使用c#.net的窗口访问系统 [英] window access system using c#.net

查看:68
本文介绍了使用c#.net的窗口访问系统的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望在窗口启动时加载我的C#表单(全屏模式,没有东西可以用鼠标或键盘关闭该表单),然后禁用除字母数字键之外的所有键,并允许用户填写用户名和密码,如果匹配,则退出表单,让用户使用窗口,一小时后关闭...


希望通过优化的代码获得最佳答案..

提前thx

i want my c# form(full screen mode nothing there to close that form with mouse or keyboard) to be load at window startup and then disabling all key except alphanumeric key,,,and allow user to fill user name and password and if matches then exit the form and let the user to use window and then shut down after one hour...


strong hope for best answer with optimized code..

thx in advance

推荐答案

您可以希望自己想要的一切.为此,您没有得到代码,这有两个原因.
1)没有人这样做,因为它很愚蠢.如果您想在一个小时后注销某人,请使用策略,而不是半熟的GINA替代品.

2)没有人愿意为此付出自己的辛勤工作,而只是将其交给某人声称是自己的工作.如果您想完成工作,请拿出信用卡.您必须付钱才能做到这一点.
You can hope all you want. You''re not getting code handed to you for this, for two reasons.

1) Nobody does this because it''s stupid. If you want to log someone off after an hour, do it using policies, not some half-baked GINA replacement.

2) Noone is going to put their own hard work into this just to hand it to someone to claim it''s their own work. If you want work done your you, get out your credit card. You''ll have to pay someone to do it.


这篇关于使用c#.net的窗口访问系统的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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