Toolbox disabled during my current project run

John 141 Reputation points
2021-11-14T01:09:20.753+00:00

I have run the form, but the toolbox is disabled when I returned to source code view.

What did I forget?

C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
2,644 questions
Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,332 questions
{count} votes

Accepted answer
  1. YujianYao-MSFT 3,521 Reputation points Microsoft Employee
    2021-11-15T05:59:46.523+00:00

    Hi @John ,

    Does the toolbox display the following content when switching to the source code page? This is a normal phenomenon, because the source code page does not allow dragging of controls, so the toolbox is disabled. WinForm pages can drag and drop controls, so the toolbox is available. You could refer to the document, which states "Toolbox appears in conjunction with designer views ".

    149188-ret.png

    Best regards,

    Elya


    If the answer is the right solution, please click "Accept Answer" and upvote it.If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


0 additional answers

Sort by: Most helpful