软体设定 [英] Software setup

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

问题描述

如何在不使用序列号模板的情况下添加序列号...我不喜欢它,因为它太弱了……任何人都可以破解它....我不能相信微软可以开个玩笑.
如何定义序列号是单个的,例如:1234AfDRs12?
那可能吗??????????????????

这是由微软完成的....................
例如,将SerialNumberTemplate属性设置为< ###-%%%%>"创建两个文本框,两个文本框之间用短划线隔开,并用空格包围.对第一个框(###)的验证仅验证用户输入了三位数.第二个框(%%%%)通过一种算法进行验证,该算法将数字加在一起并将总和除以7.如果余数为0,则验证成功;否则,验证成功.

How can I add a serial number without using the serialnumber template... I don''t like it because it''s too weak... and anybody can crack it.... I cannot beleive that Microsoft can make a same joke.
how can I define that the serial number is single like: 1234AfDRs12?
is that possible??????????????????

this is done by microsoft....................
For example, setting the SerialNumberTemplate property to "<### - %%%%>" creates two text boxes separated by a dash surrounded by spaces. Validation for the first box (###) simply verifies that the user has entered three digits. The second box (%%%%) is validated by an algorithm that adds the digits together and divides the sum by 7. If the remainder is 0, validation succeeds; otherwise, it fails.

推荐答案

您可以使用MaskEdit TextBox进行此操作.您可以在此处找到这样的示例之一: MaskEdit示例 [
You can do this using the MaskEdit TextBox. You can find one of such example here: MaskEdit Sample[^]. Search over net & you will find a huge nos. of examples.


这篇关于软体设定的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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