Solved

Windows Forms showing the form but its elements

Posted on 2011-02-11
2
231 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
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Simple Injector with Web Service 4 54
C# Desktop Application 3 54
C# MVC Insert Multiple Row into DB 2 30
Need a simple RegEx to search for two words 27 43
In order to hide the "ugly" records selectors (triangles) in the rowheaders, here are some suggestions. Microsoft doesn't have a direct method/property to do it. You can only hide the rowheader column. First solution, the easy way The first sol…
Article by: Najam
Having new technologies does not mean they will completely replace old components.  Recently I had to create WCF that will be called by VB6 component.  Here I will describe what steps one should follow while doing so, please feel free to post any qu…

856 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