vb.net form does not show correctly

Jeff Stiegler 466 Reputation points
2022-02-16T19:18:16.26+00:00

Up until this morning one of the forms in our project always showed correctly. Only very minor code changes were made in the form. First image is how the the form should look like. Second image is how it now displays at runtime. We have no idea what caused this or how to fix it.

175098-formruntime.png

Developer technologies | Windows Forms
Developer technologies | VB
{count} votes

Answer accepted by question author
  1. Castorix31 91,416 Reputation points
    2022-02-16T21:04:20.51+00:00

    One of the 2 windows has Visual Styles disabled

    Are you sure it is not unchecked in Application Properties :

    175112-visualstyles.jpg


1 additional answer

Sort by: Most helpful
  1. Jeff Stiegler 466 Reputation points
    2022-02-16T20:00:32.94+00:00

    Already undid the changes by restoring the files for this form from Monday night. Form should look like this. What other information do you need?

    175033-formdesign.png


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.