visual-studiowinformstoolbox

WinForms Toolbox shows not existing controls?


I pressed the right mouse button and selected the "Show All" option.

After that, a lot of duplicates of the same controls appeared. However, there are controls that I have not seen before. The problem is that they are disabled, I can't put them on the form.

enter image description here

I tried to find them in the list by right clicking and selecting "Choose Items...", but they are not in any of the tabs.

How can I find and enable these controls?


Solution

  • Show all will display all controls, for example, the MFC Control you screenshot should be a C++ control: https://learn.microsoft.com/en-us/cpp/mfc/controls-mfc?view=msvc-170

    You created a Windows Forms App (.NET Framework), you just need to uncheck the Show all and all the controls you can use will be displayed in the toolbar.