I created a composite control - called DateBox - that inherits from UserControl. It combines a DateTimePicker control (dateTimePicker1) together with a TextBox control (textBox1). In the designer, the textbox control is overlaid on the datetimepicker control so that you see the textBox and...
I created a custom control that inherits from textbox in a separate project (class library) in my solution. The custom control appears in the toolbox. I added a reference in my main project to the class library project. I can drag it to a form OK, but if I click away from it to another control...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.