vb.net - 文本框的 MaskFull 替代方案?
问题描述
对于 Microsoft Visual Studio,我可以为文本框的 MaskFull 使用什么替代方法?
If txtVehicleNumber.MaskFull = False Then
MsgBox("Enter your Vehicle Number in the Vehicle text box", "Error")
txtVehicleNumber.Clear()
txtVehicleNumber.Focus()
InputError = True
' Example code:
If txtStudentID.MaskFull = False Then
MsgBox("Enter your Student ID in the Student ID box", , "Error")
txtStudentID.Clear()
txtStudentID.Focus()
InputError = True
解决方案
您可以使用此工具:
MaskedTextBox 和属性;密码字符 =
推荐阅读
- c# - 如何在 Azure 中创建 SOAP WebService?
- bixby - 我可以访问设备特征(例如,屏幕尺寸)吗?
- c# - 基于接口的模型的 DbSet 在 Entity Framework Core 中失败
- git - 如何保存我的项目所依赖的开源库的修改?
- java - 如何使用 AmazonSQSExtendedClient 从 SQSEvent 接收数据
- html - 在移动视图的下一行中滑动中心 div
- javascript - 从 Doc 函数中删除空对象
- mysql - 1036 表 'C:\xampp\tmp\#sql5598_2b_0.MAI' 是只读的
- sql - 按日期访问累计总数
- c - 进程完成时如何使Windows Pipe添加EOF