471,120 Members | 1,248 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

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

.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 1412
In Solutions Explorer, highlight the project then click the Show All Files
toolbar button in the Solutions Explorer title bar.

"n3crius" <n3*****@blueyonder.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*****@blueyonder.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*****@blueyonder.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*****@blueyonder.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*****@blueyonder.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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Bruce Russell | last post: by
5 posts views Thread by =?Utf-8?B?U2NhbmJveQ==?= | last post: by

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.