Make user control display outside of form boundry

后端 未结 5 1859
慢半拍i
慢半拍i 2020-12-24 09:46

I\'ve decided to reimplement the datetime picker, as a standard datetime picker isn\'t nullable. The user wants to start with a blank field and type (not select) the date.

5条回答
  •  执笔经年
    2020-12-24 10:52

    The screenshots looks like a Windows Forms applications, so my answer is for winforms.

    I guess the best solution would be to create a customcontrol that itself uses the datetime picker that already has the behavior.

    Show a empty textbox until it gets clicked, then display the datetimepicker.

    That would save you a bunch of code..

提交回复
热议问题