.cs expansion in solution explorer for WindowsForms?

  • Thread starter Thread starter n3crius
  • Start date Start date
N

n3crius

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

done this already..

--
One framework to rule them all...

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

n3crius > .net programmer (c#/asp.net)
 
n3crius said:
done this already..

tried this... thanks m8 but not gud

--
One framework to rule them all...

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

n3crius > .net programmer (c#/asp.net)
 
n3crius said:
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.
 
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.
 
Ed said:
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!
 
Ed said:
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.

Terrific, thanks for this.

--
One framework to rule them all...

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

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