Is it possible that I disable the Designer

Discussion in 'ASP .Net Building Controls' started by TZ, Mar 3, 2008.

  1. TZ

    TZ Guest

    Good Day to Everyone,

    I have created a class within a class library. The class is a direct DataSet
    descendant.

    public MyClass:DataSet
    {
    ....
    }

    the class is shown in Solution Explorer , and behaves too, like a Component
    Class.
    This means that when I double click the class icon, I am transfered to the
    Designer. Remember that if my class was just a simple class (an Object) I
    would go just go to the code editor.

    Well, this is exactly the heart of my question:
    Is there a way (an attribute perhaps) that says to VS 2005 to ignore/cancel
    the designer and take me directly to the code editor when I double click this
    class of mine ???

    Thanks in advance...
     
    TZ, Mar 3, 2008
    #1
    1. Advertising

  2. TZ

    Teemu Keiski Guest

    right-click the file and select "Open With". In the list pick the editor you
    want and click "Set as default". After this step (close the designer if
    you've had it it open), it should open the specified editor when clicking
    the file.

    --
    Teemu Keiski
    AspInsider, ASP.NET MVP
    http://blogs.aspadvice.com/joteke
    http://teemukeiski.net

    <<
    "TZ" <> wrote in message
    news:...
    > Good Day to Everyone,
    >
    > I have created a class within a class library. The class is a direct
    > DataSet
    > descendant.
    >
    > public MyClass:DataSet
    > {
    > ....
    > }
    >
    > the class is shown in Solution Explorer , and behaves too, like a
    > Component
    > Class.
    > This means that when I double click the class icon, I am transfered to the
    > Designer. Remember that if my class was just a simple class (an Object) I
    > would go just go to the code editor.
    >
    > Well, this is exactly the heart of my question:
    > Is there a way (an attribute perhaps) that says to VS 2005 to
    > ignore/cancel
    > the designer and take me directly to the code editor when I double click
    > this
    > class of mine ???
    >
    > Thanks in advance...
    >
    >
    >
    >
    >
     
    Teemu Keiski, Mar 21, 2008
    #2
    1. Advertising

  3. TZ

    TZ Guest

    A thousand thanks...

    "Teemu Keiski" wrote:

    > right-click the file and select "Open With". In the list pick the editor you
    > want and click "Set as default". After this step (close the designer if
    > you've had it it open), it should open the specified editor when clicking
    > the file.
    >
    > --
    > Teemu Keiski
    > AspInsider, ASP.NET MVP
    > http://blogs.aspadvice.com/joteke
    > http://teemukeiski.net
    >
    > <<
    > "TZ" <> wrote in message
    > news:...
    > > Good Day to Everyone,
    > >
    > > I have created a class within a class library. The class is a direct
    > > DataSet
    > > descendant.
    > >
    > > public MyClass:DataSet
    > > {
    > > ....
    > > }
    > >
    > > the class is shown in Solution Explorer , and behaves too, like a
    > > Component
    > > Class.
    > > This means that when I double click the class icon, I am transfered to the
    > > Designer. Remember that if my class was just a simple class (an Object) I
    > > would go just go to the code editor.
    > >
    > > Well, this is exactly the heart of my question:
    > > Is there a way (an attribute perhaps) that says to VS 2005 to
    > > ignore/cancel
    > > the designer and take me directly to the code editor when I double click
    > > this
    > > class of mine ???
    > >
    > > Thanks in advance...
    > >
    > >
    > >
    > >
    > >

    >
    >
    >
     
    TZ, Mar 21, 2008
    #3
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Steve B.
    Replies:
    4
    Views:
    972
    Cheryl D Wise
    Jun 1, 2007
  2. Chris van den Heuvel

    Disable Web Forms Designer

    Chris van den Heuvel, Jun 20, 2007, in forum: ASP .Net
    Replies:
    2
    Views:
    513
    Chris van den Heuvel
    Jun 20, 2007
  3. Ian
    Replies:
    1
    Views:
    137
    Antonio Bakula
    Jan 17, 2006
  4. Alexander Higgins
    Replies:
    3
    Views:
    1,083
    Teemu Keiski
    Jul 30, 2007
  5. Alexander Higgins
    Replies:
    0
    Views:
    450
    Alexander Higgins
    Jul 21, 2007
Loading...

Share This Page