Solved

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

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
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…

744 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

13 Experts available now in Live!

Get 1:1 Help Now