Disabling the Form Designer

T

TC

I don't use the Form Designer. Is there any way to disable it
completely? I find it annoying that every time I create a new form, or
double-click on an existing one, Visual Studio uses the Designer by
default. It would be nice if I could turn that off.

-TC
 
G

Guest

I don't use the Form Designer. Is there any way to disable it

well you could just create a standard class

Public Class ClsMyCodeform
'but as soon as you place this line it is again a form
Inherits System.Windows.Forms.Form

End Class

so you could first create a class , write all your code and as soon as you
are ready to write the interface ( i guess you do that from code ?? ) put
the inherist statement on top to make it a form again


regards

Michel Posseth
 
C

Chris Dunaway

TC said:
I don't use the Form Designer. Is there any way to disable it

You design and position all your control manually? Even though the
form designer makes it very easy?
completely? I find it annoying that every time I create a new form, or
double-click on an existing one, Visual Studio uses the Designer by

Right click on one of your forms and choose Open With. Then select the
code editor and click the set as default button.
From there on out, double clicking on a form will bring up the code
window instead of the designer. You can still right click on the code
window and choose Show Designer if you decide to use the designer.
 
T

TC

Chris,

Thanks! I didn't know about the default Open With option. That's what I
was looking for.

And, yes, I position and size all my controls manually. I've seen too
many mistakes made by careless programmers using Designer. In my
opinion, doing it manually saves time in the long run.

-TC
 
C

Chris Dunaway

TC said:
And, yes, I position and size all my controls manually. I've seen too
many mistakes made by careless programmers using Designer. In my
opinion, doing it manually saves time in the long run.

I *might* agree with you in VS2003 if you had to create a complex form
layout but not in VS2005. The layout options have been enhanced and it
is very simple to align controls using the designer. And with the
TableLayoutPanel and the FlowLayoutPanel, there are even more options.

But to each his own.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top