473,327 Members | 2,071 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

C#-Form: How can I open the Design View file of a form?

8
Hi everybody,

I am just studying C#, I'm very beginner.
I just opened some example from a book and I don't see any design view of the form.
Also I tried to open another solution which I did before in an other example and I closed the window which contains the design view of the form (the one with the title "Form1.cs [Design]") and I don't know where to find it again.

Thanks for help,
Steven
Aug 15 '07 #1
5 16229
nstefi
8
Sorry, I found the answer myself already.

View menu -> Designer (SHIFT + F7)

Steven

Hi everybody,

I am just studying C#, I'm very beginner.
I just opened some example from a book and I don't see any design view of the form.
Also I tried to open another solution which I did before in an other example and I closed the window which contains the design view of the form (the one with the title "Form1.cs [Design]") and I don't know where to find it again.

Thanks for help,
Steven
Aug 15 '07 #2
kenobewan
4,871 Expert 4TB
Thanks for sharing the solution.
Aug 15 '07 #3
Plater
7,872 Expert 4TB
That would be Visual Studio 2005 yes? That was when they started splitting the files up.
If you have the project/solution explorer open, there is a "+" next to Forms, that will expand into the designer files as well.
Aug 15 '07 #4
nstefi
8
Yes, it's Visual Studio 2005.
I tried also before to look in Solution Explorer, but I double-clicked everything and I could't find the design form.
Now as you said, I tried again, but I found only 2 subbranches for a form.
I have a form frmMain.cs and it has 2 branches when I open the "+" sign:
frmMain.Designer.cs
frmMain.resx

before I tried to double-click all the branches and none of them was the design form. Now I realised that I have to open the "frmMain.cs" which is the node where the "+" sign is opening. (I thought is just a folder, but actually is the design form)

That would be Visual Studio 2005 yes? That was when they started splitting the files up.
If you have the project/solution explorer open, there is a "+" next to Forms, that will expand into the designer files as well.
Aug 15 '07 #5
Plater
7,872 Expert 4TB
"frmMain.Designer.cs" should contain the designer code
it will most likely be collapsed in a #region #endregion tag
Aug 15 '07 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Jacobo Rodriguez Villar | last post by:
Hello, I have two problems with design view in VStudio 2003: First, if I close a solution with a form in design view, next time that I want start the vstudio, it hangs up before loading the...
1
by: Davef | last post by:
When I try to open design view in VS I get that error. Is there anyway around that? <td vAlign=bottom noWrap align=right background="<%= Application("AppPath") %>/images/BarGradient.gif" > -- ...
2
by: Rob Meade | last post by:
Hi all, I am getting the above error when I try to flick from HTML to Design view in Visual Studio - I get the jist of the error message, and I know the line of code which it refers to which is...
8
by: Brett | last post by:
I have a form with a Form1_Load() Subprocedure and no other code. For some reason, the design view does not come up. If I add a new form, the design view does come up. The form does appear when...
3
by: Jeff Couch - Academy Roofing | last post by:
In my office everyone has access to a database. All the computers/ users work well with it. One computer, no matter who is signed in, defaults to design view when opening any database. We don't...
3
by: OldBirdman | last post by:
I have several PopUp forms in my database. Before today, if I switched to Design View, the form was in the same position as in Form View. Currently if I switch to Design View, the form is...
1
by: vantrung | last post by:
I open the form. But in its database window don't have design view and delete item (can not click). even in View menu can not use also . Please show me able it to excute! Thank !
1
by: cowznofsky | last post by:
I just got a new lenovo laptop. It has a 2G processor and 4G of memory. When I go to an aspx page in VS2005 and try to open design view, it crawls. I can watch at the bottom of the screen,...
18
by: AdamOnAccess | last post by:
Anyone know an easy way to toggle between Form and Design view with a hotkey? I know you can switch from Design view to Form view with hotkey F5. But is there a hotkey to switch back (from Form...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.