... 状态栏(status bar) 6、验证用户的输入,使用validation control 假如要作一个长时间的运算,则主界面要加一个ProgressBar和statusbar。 ...
基于4个网页-相关网页
所有应用程序都需要验证用户输入的数据。
All applications need to validate the data that users enter.
用户所输入的值会与这些验证规则进行比较。
Values entered by the user are compared to the validation rules.
为了生成运行更加快捷并易于维护的代码,使用散列表存储命令行选项并使用散列验证用户指定的输入,这种方法非常有帮助。
To produce code that runs faster and is easy to maintain, it makes far more sense to use a hash table that stores the command-line options, then USES the hash to validate the user-specified input.
应用推荐