Solved

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

Posted on 2008-10-03
2
214 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

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

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

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
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…
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

825 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