473,395 Members | 1,941 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,395 software developers and data experts.

IDE: vs2k5 partial class

Greetings,

By default Visual Studio 2005 starts each new project up with the code in
partial class form. Is there anyway I can change this behavior so that the
code is not split amongst different source files?
Im using the professional edition for c#.

Thanks,

Christopher
Jan 5 '06 #1
2 1104
You could try editing the files in C:\Program Files\Microsoft Visual Studio
8\Common7\IDE\ItemTemplates\CSharp\1033\Form.zip - however, I'm not sure I
would recommend it... the new partial class functionality is designed to
make it a lot easier to separate your code from the designer's. What is the
issue having multiple source files?

Alternatively, just cut/paste the interesting bits, but don't be too
surprised if the designed eventually balks at you and discards all your UI
work...

Marc

"Christopher" <Ch*********@discussions.microsoft.com> wrote in message
news:1F**********************************@microsof t.com...
Greetings,

By default Visual Studio 2005 starts each new project up with the code in
partial class form. Is there anyway I can change this behavior so that the
code is not split amongst different source files?
Im using the professional edition for c#.

Thanks,

Christopher

Jan 5 '06 #2
Not that I know. Though if you create a form in .NET2003 and add the form to
the project VS will use correctly the old style (without partial classes).
However when form is created form VS2005 it will always create it as partial
class.
--

Stoitcho Goutsev (100)

"Christopher" <Ch*********@discussions.microsoft.com> wrote in message
news:1F**********************************@microsof t.com...
Greetings,

By default Visual Studio 2005 starts each new project up with the code in
partial class form. Is there anyway I can change this behavior so that the
code is not split amongst different source files?
Im using the professional edition for c#.

Thanks,

Christopher

Jan 5 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Arnold the Aardvark | last post by:
I'm completely new to .NET, but not C++, and have bought VC++ .NET to learn with. I've created a minimal GUI application to get started. My first question is a simple one about the IDE. Why is...
1
by: Umut Tezduyar | last post by:
Where is the designer generated 'partial' class. I want to see it also. But i only see my .aspx class and it's partial code behind class. There must be another class that the designer binds events...
3
by: Brett Romero | last post by:
Does MS have a webpage listing what each icon in the VS 2K5 IDE means? Seems as though there was one of these for 2K3. I can't find anything for 2K5. Also, is there still a visual studio...
0
by: Karch | last post by:
Does anyone know how I can tell Visual Studio 2005 to nest additional partial class files. For example: Default.aspx Default.aspx.cs (nests by default) Default.aspx.designer.cs (nests by...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.