Wrox Programmer Forums
|
BOOK: Beginning C# 3.0 : An Introduction to Object Oriented Programming ISBN: 978-0-470-26129-3
This is the forum to discuss the Wrox book Beginning C# 3.0 : An Introduction to Object Oriented Programming by Jack Purdum; ISBN: 9780470261293
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning C# 3.0 : An Introduction to Object Oriented Programming ISBN: 978-0-470-26129-3 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 14th, 2011, 07:16 PM
Registered User
 
Join Date: Apr 2011
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Can't find Designer Icon

Sorry for bothering you guys. I'm starting Chapter 3 and working thru the steps 1-7, but on I can't seem to find the View Designer icon on the Solution Explorer Window. I have four icons on the top of the Solution Explorer Window; Properties, Show All Files, Refresh, and View Code. I am using Microsoft Visual C# 2010 Express.
 
Old June 14th, 2011, 07:24 PM
Friend of Wrox
 
Join Date: Sep 2008
Posts: 234
Thanks: 0
Thanked 32 Times in 30 Posts
Default No designer icon

I've never had this happen, so I'm not sure what to tell you. All I can say is: recreate the program following the steps that begin on p.36 and see if that fixes it.
__________________
Jack Purdum, Ph.D.
Author: Beginning C# 3.0: Introduction to Object Oriented Programming (and 14 other programming texts)
 
Old June 14th, 2011, 07:36 PM
Registered User
 
Join Date: Apr 2011
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Do you see any flaws in my C# Template Code. This is the first time I've used it.

using System;
using System.Windows.Forms;

public class frmMain : Form
{
#region Windows code
private void InitializeComponent()
{
}
#endregion

public frmMain()
{
InitializeComponent();
}

public static void Main()
{
frmMain main = new frmMain();
Application.Run(main);
}
}
 
Old June 14th, 2011, 07:55 PM
Registered User
 
Join Date: Apr 2011
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

ok...found the problem. My Target Frameworks defaults to .NET Framework 4 Client Profile. I changed it to just .NET Framework 4 and it showed up. Not sure why.
 
Old February 9th, 2012, 03:33 PM
Registered User
 
Join Date: Jan 2012
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

This has happened to me a few times. Usually if I close the frmMain.cs file and then re-open it, the designer icon pops up. I think Visual Studio just has to "catch up" or realize where it's at sometimes.
 
Old February 9th, 2012, 05:33 PM
Friend of Wrox
 
Join Date: Sep 2008
Posts: 234
Thanks: 0
Thanked 32 Times in 30 Posts
Default Icon

I had that happen once, too, and I'm not sure, but I think it was because I didn't select an Empty Code File but Selected Windows Form instead. I then erased the code that was in the Windows Form that I did select. Once I deleted the frmMain.Designer.cs file (don't bother putting any controls on the form because you'll lose them) and double-clicked the new form, the icon popped up. I've slept since that happened, so I may be wrong.

Dr. Purdum
__________________
Jack Purdum, Ph.D.
Author: Beginning C# 3.0: Introduction to Object Oriented Programming (and 14 other programming texts)





Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't find Designer Icon greg222 BOOK: Beginning C# 3.0 : An Introduction to Object Oriented Programming ISBN: 978-0-470-26129-3 0 June 14th, 2011 07:15 PM
Web Designer to UI Designer jitesh82 BOOK: Beginning CSS: Cascading Style Sheets for Web Design ISBN: 978-0-7645-7642-3 2 April 16th, 2011 01:04 AM
How to Add the 'Start Without Debugging' icon next to 'Start With Debugging' icon btcomp BOOK: Beginning ASP.NET 4 : in C# and VB 1 August 1st, 2010 03:41 PM
Open Word Doc from Access - find, find next save donaldmaloney Access VBA 1 May 25th, 2005 11:09 AM
Create a find and a find and replace in VB.NET snowy0 VB How-To 0 January 26th, 2004 07:03 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.