更新时间:2023-10-14 20:30:04
您可以使用绑定的解析和格式事件自己进行转换,如此答案
You can use the binding's Parse and Format events to do the conversion yourself, as seen in this answer
将DateTime绑定到MaskedTextBox时如何应用格式化字符串?
如何使用JavaScript将当前时间与格式化为字符串的时间范围进行比较