c# - Timepicker does not show the arrow beside it -


i know have removed application.enablevisualstyles () program develop progress bar easier if remove statement of "application.enablevisualstyles". problem face was, when put datetimepicker set showupdown true, arrow in show down not display formerly statement "application.enabledstyles". there way can solve without addding "application.enablevisualstyles". thanks

it datetimepicker enter image description here

i want datetimepicker enabled visual style removed enter image description here

if want use old progressbar, hans passant answer how disable visual styles 1 control, , not children? shows how turn visual styles off single control. i've adapted code progress bar:

public class oldprogressbar : progressbar {    [dllimportattribute("uxtheme.dll")]   private static extern int setwindowtheme(intptr hwnd, string appname, string idlist);    protected override void onhandlecreated(eventargs e) {     setwindowtheme(this.handle, "", "");     base.onhandlecreated(e);   } } 

now can use application.enablevisualstyles(); , still use old progress bar control.


Comments

Popular posts from this blog

authentication - Mongodb revoke acccess to connect test database -

r - Update two sets of radiobuttons reactively - shiny -

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -