Solved

Windows Forms showing the form but its elements

Posted on 2011-02-11
2
234 Views
Last Modified: 2012-05-11
I added a combobox and some buttons to a form. When I run, it doesn't show these elements. What could be wrong?
0
Comment
Question by:DistillingExperts
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 7

Accepted Solution

by:
jdavistx earned 500 total points
ID: 34872158
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
 
LVL 44

Expert Comment

by:AndyAinscow
ID: 34872186
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

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Extention Methods in C# 3.0 by Ivo Stoykov C# 3.0 offers extension methods. They allow extending existing classes without changing the class's source code or relying on inheritance. These are static methods invoked as instance method. This…
Summary: Persistence is the capability of an application to store the state of objects and recover it when necessary. This article compares the two common types of serialization in aspects of data access, readability, and runtime cost. A ready-to…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

628 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question