如何为分钟和秒的输入自定义控件 [英] How to customize a control for the input of the minutes and seconds
本文介绍了如何为分钟和秒的输入自定义控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何自定义分钟和秒输入的控件,类似于:120°30'30,其中数字由用户输入,符号的分钟和秒数固定。谢谢你。
How to customize a control for the input of the minutes and seconds, similar to:120°30′30″,Wherein the number is entered by the user, and the degree of minutes and seconds of the symbols are fixed.Thank you.
推荐答案
使用蒙面文本框 -
C#:一个更好的日期掩盖文本框 [ ^ ]
C#中的MaskedTextBox [ ^ ]
Use a masked textbox -
C#: A Better Date-Masked Text Box[^]
MaskedTextBox in C#[^]
这篇关于如何为分钟和秒的输入自定义控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文