Disabling the Form Designer

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • TC

    #1

    Disabling the Form Designer

    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

  • Cor Ligthert [MVP]

    #2
    Re: Disabling the Form Designer

    TC,

    Just open a class instead of a form

    Cor

    "TC" <golemdanube@ya hoo.comschreef in bericht
    news:1153871407 .623543.301730@ i42g2000cwa.goo glegroups.com.. .
    >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
    >

    Comment

    • Michel Posseth [MCP]

      #3
      RE: Disabling the Form Designer

      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




      "TC" wrote:
      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
      >
      >

      Comment

      • Chris Dunaway

        #4
        Re: Disabling the Form Designer

        TC wrote:
        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.

        Comment

        • TC

          #5
          Re: Disabling the Form Designer

          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


          Chris Dunaway wrote:
          TC wrote:
          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.

          Comment

          • Chris Dunaway

            #6
            Re: Disabling the Form Designer

            TC wrote:
            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
            TableLayoutPane l and the FlowLayoutPanel , there are even more options.

            But to each his own.

            Comment

            Working...