473,568 Members | 2,939 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

.cs expansion in solution explorer for WindowsForms?

I've noticed that when I'm programming Windows applications in the .net
sutdio I can't see an expansion option in the Solution Explorer to get
the .cs behind the WindowsForm. In contrast, I can get the code behind
an aspx in the Explorer pretty easily. I know I can select 'View Code'
etc but it's like, I don't want to have to do this, I want the .cs for a
form right there, ready to play with, in code view.

Any ideas?

--
One framework to rule them all...

@@@ @@@ @@@@@@ @@@@@@@ @@@@@@@ @@@ @@@ @@@ @@@@@@
@@!@!@@@ @@! !@@ @@! @@@ @@! @@! @@@ !@@
@!@@!!@! @!!!: !@! @!@!!@! !!@ @!@ !@! !@@!!
!!: !!! !!: :!! !!: :!! !!: !!: !!! !:!
:: : ::: :: :: :: : : : : : :.:: : ::.: :

n3crius > .net programmer (c#/asp.net)
Jul 21 '05 #1
7 1568
In Solutions Explorer, highlight the project then click the Show All Files
toolbar button in the Solutions Explorer title bar.

"n3crius" <n3*****@blueyo nder.co.uk> wrote in message
news:uJ******** *************** @news-text.cableinet. net...
I've noticed that when I'm programming Windows applications in the .net
sutdio I can't see an expansion option in the Solution Explorer to get
the .cs behind the WindowsForm. In contrast, I can get the code behind
an aspx in the Explorer pretty easily. I know I can select 'View Code'
etc but it's like, I don't want to have to do this, I want the .cs for a
form right there, ready to play with, in code view.

Any ideas?

--
One framework to rule them all...

@@@ @@@ @@@@@@ @@@@@@@ @@@@@@@ @@@ @@@ @@@ @@@@@@
@@!@!@@@ @@! !@@ @@! @@@ @@! @@! @@@ !@@
@!@@!!@! @!!!: !@! @!@!!@! !!@ @!@ !@! !@@!!
!!: !!! !!: :!! !!: :!! !!: !!: !!! !:!
:: : ::: :: :: :: : : : : : :.:: : ::.: :

n3crius > .net programmer (c#/asp.net)

Jul 21 '05 #2
Jim Hughes wrote:
In Solutions Explorer, highlight the project then click the Show All Files
toolbar button in the Solutions Explorer title bar.

"n3crius" <n3*****@blueyo nder.co.uk> wrote in message
news:uJ******** *************** @news-text.cableinet. net...
I've noticed that when I'm programming Windows applications in the .net
sutdio I can't see an expansion option in the Solution Explorer to get
the .cs behind the WindowsForm. In contrast, I can get the code behind
an aspx in the Explorer pretty easily. I know I can select 'View Code'
etc but it's like, I don't want to have to do this, I want the .cs for a
form right there, ready to play with, in code view.

Any ideas?

--
One framework to rule them all...

@@@ @@@ @@@@@@ @@@@@@@ @@@@@@@ @@@ @@@ @@@ @@@@@@
@@!@!@@@ @@! !@@ @@! @@@ @@! @@! @@@ !@@
@!@@!!@! @!!!: !@! @!@!!@! !!@ @!@ !@! !@@!!
!!: !!! !!: :!! !!: :!! !!: !!: !!! !:!
:: : ::: :: :: :: : : : : : :.:: : ::.: :

n3crius > .net programmer (c#/asp.net)



done this already..

--
One framework to rule them all...

@@@ @@@ @@@@@@ @@@@@@@ @@@@@@@ @@@ @@@ @@@ @@@@@@
@@!@!@@@ @@! !@@ @@! @@@ @@! @@! @@@ !@@
@!@@!!@! @!!!: !@! @!@!!@! !!@ @!@ !@! !@@!!
!!: !!! !!: :!! !!: :!! !!: !!: !!! !:!
:: : ::: :: :: :: : : : : : :.:: : ::.: :

n3crius > .net programmer (c#/asp.net)
Jul 21 '05 #3
n3crius wrote:
Jim Hughes wrote:
In Solutions Explorer, highlight the project then click the Show All
Files
toolbar button in the Solutions Explorer title bar.

"n3crius" <n3*****@blueyo nder.co.uk> wrote in message
news:uJ******** *************** @news-text.cableinet. net...
I've noticed that when I'm programming Windows applications in the .net
sutdio I can't see an expansion option in the Solution Explorer to get
the .cs behind the WindowsForm. In contrast, I can get the code behind
an aspx in the Explorer pretty easily. I know I can select 'View Code'
etc but it's like, I don't want to have to do this, I want the .cs for a
form right there, ready to play with, in code view.

Any ideas?

--
One framework to rule them all...

@@@ @@@ @@@@@@ @@@@@@@ @@@@@@@ @@@ @@@ @@@ @@@@@@
@@!@!@@@ @@! !@@ @@! @@@ @@! @@! @@@ !@@
@!@@!!@! @!!!: !@! @!@!!@! !!@ @!@ !@! !@@!!
!!: !!! !!: :!! !!: :!! !!: !!: !!! !:!
:: : ::: :: :: :: : : : : : :.:: : ::.: :

n3crius > .net programmer (c#/asp.net)



done this already..


tried this... thanks m8 but not gud

--
One framework to rule them all...

@@@ @@@ @@@@@@ @@@@@@@ @@@@@@@ @@@ @@@ @@@ @@@@@@
@@!@!@@@ @@! !@@ @@! @@@ @@! @@! @@@ !@@
@!@@!!@! @!!!: !@! @!@!!@! !!@ @!@ !@! !@@!!
!!: !!! !!: :!! !!: :!! !!: !!: !!! !:!
:: : ::: :: :: :: : : : : : :.:: : ::.: :

n3crius > .net programmer (c#/asp.net)
Jul 21 '05 #4
n3crius wrote:
I've noticed that when I'm programming Windows applications in the .net
sutdio I can't see an expansion option in the Solution Explorer to get
the .cs behind the WindowsForm. In contrast, I can get the code behind
an aspx in the Explorer pretty easily. I know I can select 'View Code'
etc but it's like, I don't want to have to do this, I want the .cs for a
form right there, ready to play with, in code view.

Any ideas?


I hate this. I often double-click the form icon when I really want the
code to appear, but then the form appears (usually very slowly). If
there's an easier alternative to right-clicking and selecting "View
Code", I'd like to know it too.
Jul 21 '05 #5
Try this:

1. Right click on a form node in the Solution Explorer (such as Form1.cs)
2. Select "Open With..."
3. Select "CSharp Editor" and press "Set as Default"

After this, whenever you double click on a form in the Solution Explorer,
it'll go straight to code view.

"n3crius" <n3*****@blueyo nder.co.uk> wrote in message
news:uJ******** *************** @news-text.cableinet. net...
I've noticed that when I'm programming Windows applications in the .net
sutdio I can't see an expansion option in the Solution Explorer to get
the .cs behind the WindowsForm. In contrast, I can get the code behind
an aspx in the Explorer pretty easily. I know I can select 'View Code'
etc but it's like, I don't want to have to do this, I want the .cs for a
form right there, ready to play with, in code view.

Any ideas?

--
One framework to rule them all...

@@@ @@@ @@@@@@ @@@@@@@ @@@@@@@ @@@ @@@ @@@ @@@@@@
@@!@!@@@ @@! !@@ @@! @@@ @@! @@! @@@ !@@
@!@@!!@! @!!!: !@! @!@!!@! !!@ @!@ !@! !@@!!
!!: !!! !!: :!! !!: :!! !!: !!: !!! !:!
:: : ::: :: :: :: : : : : : :.:: : ::.: :

n3crius > .net programmer (c#/asp.net)

Jul 21 '05 #6
Ed Kaim [MSFT] wrote:
Try this:

1. Right click on a form node in the Solution Explorer (such as Form1.cs)
2. Select "Open With..."
3. Select "CSharp Editor" and press "Set as Default"

After this, whenever you double click on a form in the Solution Explorer,
it'll go straight to code view.


Thanks!
Jul 21 '05 #7
Ed Kaim [MSFT] wrote:
Try this:

1. Right click on a form node in the Solution Explorer (such as Form1.cs)
2. Select "Open With..."
3. Select "CSharp Editor" and press "Set as Default"

After this, whenever you double click on a form in the Solution Explorer,
it'll go straight to code view.

"n3crius" <n3*****@blueyo nder.co.uk> wrote in message
news:uJ******** *************** @news-text.cableinet. net...
I've noticed that when I'm programming Windows applications in the .net
sutdio I can't see an expansion option in the Solution Explorer to get
the .cs behind the WindowsForm. In contrast, I can get the code behind
an aspx in the Explorer pretty easily. I know I can select 'View Code'
etc but it's like, I don't want to have to do this, I want the .cs for a
form right there, ready to play with, in code view.

Any ideas?

--
One framework to rule them all...

@@@ @@@ @@@@@@ @@@@@@@ @@@@@@@ @@@ @@@ @@@ @@@@@@
@@!@!@@@ @@! !@@ @@! @@@ @@! @@! @@@ !@@
@!@@!!@! @!!!: !@! @!@!!@! !!@ @!@ !@! !@@!!
!!: !!! !!: :!! !!: :!! !!: !!: !!! !:!
:: : ::: :: :: :: : : : : : :.:: : ::.: :

n3crius > .net programmer (c#/asp.net)



Terrific, thanks for this.

--
One framework to rule them all...

@@@ @@@ @@@@@@ @@@@@@@ @@@@@@@ @@@ @@@ @@@ @@@@@@
@@!@!@@@ @@! !@@ @@! @@@ @@! @@! @@@ !@@
@!@@!!@! @!!!: !@! @!@!!@! !!@ @!@ !@! !@@!!
!!: !!! !!: :!! !!: :!! !!: !!: !!! !:!
:: : ::: :: :: :: : : : : : :.:: : ::.: :

n3crius > .net programmer (c#/asp.net)
Jul 21 '05 #8

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

Similar topics

7
1308
by: n3crius | last post by:
I've noticed that when I'm programming Windows applications in the .net sutdio I can't see an expansion option in the Solution Explorer to get the .cs behind the WindowsForm. In contrast, I can get the code behind an aspx in the Explorer pretty easily. I know I can select 'View Code' etc but it's like, I don't want to have to do this, I want...
1
2219
by: Max Khitrov | last post by:
Hello everyone, I'm working on a VS .NET add-in that will allow developers to use Subversion software from within the IDE (much like Source Safe). Ideally, I would like for my plug-in to be able to modify icons that are displayed in Solution Explorer based on the file's status. So far I've been able to retrieve data from Solution Explorer...
4
1726
by: Alpha | last post by:
I have a small Window application and through out the different forms I create a different dataset. At the begining I used the Tools to drag and drop the SqlDataAdapter, connection and dataset objects to the frist few forms but then later I removed those and created these objects in my code. I now see 3 datasets in the Solution Explorer...
2
2948
by: Bruce Russell | last post by:
This may sound stupid but I can't rename the WebForm1.aspx in the solution explorer. The file is located in my local web server at C:\Inetpub\wwwroot\Lab3-VB-Starter\WebForm1.aspx Is there some configuration problem in my IIS setup? Thanks,
1
1830
by: Nick | last post by:
Hi, I am developping an app using managed C++. I want to be able to do a drag drop from the app to windows explorer. The files to be dropped onto explorer do not exist yet, the files are to be created by the app when the user does the drop into explorer. I have done some searches and found COleDataSource::DelaySetData could be useful but...
5
1521
by: =?Utf-8?B?U2NhbmJveQ==?= | last post by:
Guyz, I want to remove items from the Solution Explorer. The VBE 2005 help system claims that to do this, you have to:- 1. Select the item you want to remove. 2. On the 'Edit' menu, choose 'Remove'. The problem is that there is no 'Edit' menu in the Solution Explorer, and the
0
7604
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7916
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7660
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6275
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5498
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5217
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3651
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
1207
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
932
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.