Solved

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

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

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

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

Suggested Solutions

For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

762 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