Windows Develop Bookmark and Share   
 index > Windows Forms Designer > Don't want design mode
 

Don't want design mode

I think this is where I should post this question...

When I double click on my FormName.cs in the workspace window, I would like to default to 'view code'. Where can I find the option to set it as such? I need designer mode much less often than I need source mode.And yes I know I can right click to view code, and I can use the tabs to go to what ever I have open, but I double click more often out of habit and the tabs are in almost a random order.

Thank you.

vdogamr  Tuesday, October 17, 2006 6:22 PM

Right click the FormName.cs in solution explorer, select Open With... . In the dialog that appears select CSharp Editor (or Microsoft Visual Basic Editor) and press Set as Default and then OK.

Mike Danes  Tuesday, October 17, 2006 6:52 PM

Right click the FormName.cs in solution explorer, select Open With... . In the dialog that appears select CSharp Editor (or Microsoft Visual Basic Editor) and press Set as Default and then OK.

Mike Danes  Tuesday, October 17, 2006 6:52 PM
Thank you very much. Sorry I didn't realize that on my own.
vdogamr  Friday, October 20, 2006 5:45 PM
In VS 2008, I've managed to set the default to source mode, but I haven't found that in VS 2005. Is it possible?
Ed McCarroll  Saturday, January 17, 2009 1:17 PM

You can use google to search for other answers

Custom Search

More Threads

• Unable to move the position of custom control during design time
• Change DataBindings at runtime
• Property not being modified during design mode
• Nullable type in property grid
• How to add custom attribute to member declaration using CodeDOM
• MDI Child Form Problem
• How to set readonly for property with return value of collection.
• Parenting forms to controls
• FindControl.
• Displaying forms on multiple monitors