Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 242
  • Last Modified:

Windows Forms showing the form but its elements

I added a combobox and some buttons to a form. When I run, it doesn't show these elements. What could be wrong?
0
DistillingExperts
Asked:
DistillingExperts
1 Solution
 
jdavistxCommented:
Check that the Visible property for these controls is True, and also check in your Program.cs that you're starting your program with the expected Form.


//In Program.cs
Application.Run(new FormYouWantToRunFirst());

Open in new window

0
 
AndyAinscowFreelance programmer / ConsultantCommented:
Are the controls set with visible = false?
Are they on a panel (or other control) that is hidden?
Are they within the visible area of the form?
Do you have any code to do anything with these controls?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now