开发者

How to recover control deleted from ToolBox In Visual Studio?

I've deleted a 开发者_开发知识库tool from ToolBox by accident. How I can get it back if possible?


The standard way is to select the tab in the toolbox and select "Choose Items", this opens a window that allows you a list of controls to add, or you can browse to find the control in it's assembly if it is not there.

You can also restore the toolbox to the original configuration with a Right Click on the Toolbox and select "Reset Toolbox" (WARNING: This will give you the VS defaults. If you loaded any control libraries, you will lose them and have to reload them with their installer or "Choose Items").


Just right click any tool and select reset toolbox....you will get the deleted tool.


Disclaimer: This is based on memory. Right click on Toolbox, you should get properties/configure or Add Control option. Select that option and a dialog box will appear listing all types (.net, COM) of control. Select the control that has gone missing and it should be back to your toolbox.


If reset toolbox does not help please try the following: - right click on the blank toolbox area and select the option "Add/remove Items"; - click on the browse button; - if 'Windows Forms' controls are missing navigate to: C:\WINDOWS\Microsoft.NET\Framework\vx.xxxx\System.Windows.Forms.dll - if 'Web' controls are missing navigate to: C:\WINDOWS\Microsoft.NET\Framework\vx.xxxx\System.Web.dll - and press OK.

The controls should then appear on the relevant tabs.


For Visual Studios or other visual stuff, to reset the toolbox and other tools click windows then go to reset windows layout.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜