DateTimePicker and UserPaint…Text and button missing
问题 I've got a DateTimePicker which I 'dynamically' assign the Paint-Event, unfortunately as long as this Event is assigned neither the text nor the DropDown-Button are rendered (but are working). I've written a component which takes another control and draws something on it Public Sub New(Byval parent As Control) Me._parent = parent Me._setStyle = Me._parent.GetType().GetMethod("SetStyle", Reflection.BindingFlags.Instance Or Reflection.BindingFlags.NonPublic) Me._setStyle.Invoke(Me._parent, New