Solved

What file are the form designer form properties stored and how are they stored??

Posted on 2008-10-03
2
213 Views
Last Modified: 2013-12-14
In Microsoft Development Studio 2005  C# (CSHARP)  much of the property setting in a forms is handled invisibly and so I do not see the details I would like to better understand where this information is stored.

I have been using this product for some time but I have yet to figure out how where (what file(s)) the properties are set in my projects. Can anyone tell me which file stores say.  Panel background Color or  Button Background color? or panel container background color or font style and size for  a button or tree view

I am currently unable to find these settings. If they are stored in some xml or  a binary file it is not clear to me who and which one.

My first thought would be .RESX
Here are the possible file types:
*.CSPROJ.USER  
*.CSPROJ
*.CS
*.RESX
*.RESOURCES
*.DLL
*.EXE
*.PDB

I think it may be in the .Resources file but that file is in some Microsoft file format that is not easily read
This file appears to be created  but for what purpose and when is it created.
I just tried to change a property and the files changed were?
Also what is the file: ResolveAssemblyReference.cache?  What is it for?
0
Comment
Question by:Robert Silver
2 Comments
 
LVL 85

Accepted Solution

by:
Mike Tomlinson earned 150 total points
ID: 22639093
Click on the "Show All Files" button in the Solution Explorer (top right of the IDE).

It is shown in Figure 7-3 in this link:
http://en.csharp-online.net/How_Visual_CSharp_Helps_You_CodeBuilding_a_User_Interface

For example, the designer file for "Form1" would be "Form1.Designer.cs".  See the image here:
http://en.csharp-online.net/Visual_CSharp_Express_-_Using_the_Solution_Explorer


0
 
LVL 55

Assisted Solution

by:Jaime Olivares
Jaime Olivares earned 100 total points
ID: 22639495
not sure about your question.
For each form, let's say MyForm, there is a designer file with the name:
MyForm.designer.cs (or .vb)
There you will find the auto-generated source for the form, where form's properties are set.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

How to install Selenium IDE and loops for quick automated testing. Get Selenium IDE from http://seleniumhq.org Go to that link and select download selenium in the right hand columnThat will then direct you to their download page.From that page s…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.

912 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now