toolbox

How to add my custom WPF control to the ToolBox by using the WPF ToolBox Control template

柔情痞子 提交于 2019-12-11 05:59:44
问题 I have a custom control packed as myControl.dll. How to install it in VS2010 by using the WPF ToolBox Control template? I do not want to use the "Choose Toolbox..." or "Drag and Drop" techniques. 回答1: I wrote a thorough tutorial article on the topic: Visual Studio Toolbox Control Integration The "Choose Items..." is easiest choice for manual installation and is discussed in the article as well. You can also bundle the control in VSI, VSIX or VSPackage, use VS Automation Object Model (DTE) or

How to add types from external assembly to toolbox control? (WPF)

你说的曾经没有我的故事 提交于 2019-12-10 23:58:12
问题 I am trying to do something like this in my WPF application: ToolboxControl ctrl = new ToolboxControl(); Assembly assembly = Assembly.LoadFile(file); var category = new ToolboxCategory(assembly.GetName().Name); foreach (Type t in assembly.GetTypes()) { var wrapper = new ToolboxItemWrapper(t, t.Name); category.Add(wrapper); } ctrl.Categories.Add(category); i.e. adding ToolboxItemWrappers for each type found in an assembly. However the last line throws the following exception (see image) http:/

visual studio 2010 tool boxes empty

巧了我就是萌 提交于 2019-12-10 18:57:50
问题 I Have visual Studio 2010 Professional, and somehow my toolbox has become virtully empty, I Have Reporting ReportViewer Visual Basic Power Pack a few basic items like line and oval General -EMPTY Restarting the pc Installing latest dx running VS with /resetSettings Running VS with /Safemode Re-installing Repairing Resetting Toolbox Clicking "Show All Items", this does show most things, however I cannot use any(They de-coloured, and when I try drag onto form I get the 'cannot perform' cursor

start docker tool-box: Unable to find image 'image:latest' locally

时光总嘲笑我的痴心妄想 提交于 2019-12-08 04:18:02
问题 I am newbie into docker did the following: couldn't install docker engine on my windows 7, but instead: installed docker tool-box (engine should be already included) the terminal from the docker tool-box shows me the sign of the docker and everything should be good but i face problem with the following: cant run the simple image "hello-world" docker run hello-world The Error Message: Unable to find image 'hello-world:latest' locally after login with username and password it appears error (i

What is the recommended way of adding components downloaded from nuget to toolbox?

青春壹個敷衍的年華 提交于 2019-12-07 17:55:46
问题 I have a C# Windows Forms project in which I use a component that I obtained through nuget. Now I was wondering what is the correct way of adding this component to the toolbox in the designer. Should I make a separate copy of the component on my hdd and add it from there or should I just add it from the project's packages folder or maybe do something different entirely? I was wondering if: having a separate copy of the component won't cause problems if I use a newer version of the component

How to see components in toolbox after adding a new reference?

微笑、不失礼 提交于 2019-12-06 04:06:12
In my project I add reference on the WPFToolkit assembly, restart Visual Studio and has not seen WPFToolkit components in my VS ToolBox window. What I do wrong? Toolbox doesn't automatically pick up components/controls in referenced assemblies. It does however automatically pick up components/controls that are built in your projects. You can right click the toolbox and choose "Customize" and you will get a dialog that lets you browse to the assembly and check off any controls that you want to appear. It might be helpful to create a new tab in the toolbox first. 来源: https://stackoverflow.com

What is the recommended way of adding components downloaded from nuget to toolbox?

一笑奈何 提交于 2019-12-06 03:33:05
I have a C# Windows Forms project in which I use a component that I obtained through nuget. Now I was wondering what is the correct way of adding this component to the toolbox in the designer. Should I make a separate copy of the component on my hdd and add it from there or should I just add it from the project's packages folder or maybe do something different entirely? I was wondering if: having a separate copy of the component won't cause problems if I use a newer version of the component in another project? using the copy from packages folder and then deleting, moving the project, won't

Docker Toolbox:联合Compose、Boot2Docker、Kitematic

∥☆過路亽.° 提交于 2019-12-05 23:51:53
有了Toolbox,桌面用户在使用Docker时,可以将一系列使用容器运行的app组合在一起,对于用户来说,这是一个由来已久的痛点。 桌面用户在使用Docker时,一直是分成几个独立的部分:精简的Boot2Docker Linux镜像,用于运行Docker、MAC工具kitematic (由Docker不久前收购)和 Docker Compose 。 Docker的下一步行动是把所有这些碎片浓缩成一个单独的产品: Toolbox 。 Toolbox实际上不是一个孤立的,Docker为单独的零件更换产品品牌。相反,它提供了一个简化的方式获得、安装,并组织他们,无需用户单独去处理。 根据Docker团队的介绍,Toolbox将不仅有助于未来开发者启动Docker和运行,也会让已经在桌面开发环境中,使用Compose构建的应用程序正常使用。 Toolbox的其中一个特征:部分包含了Boot2Docker。原来,Docker的VM使用Boot2Docker命令行工具管理(提供Boot2Docker镜像),但现在是用机器直接管理。VirtualBox虚拟机应用仍然是用来启动Boot2Docker。 对于那些对Boot2Docker已有的依赖,Docker做了相关处理。现有Boot2Docker会自动迁移到新的Toolbox,例如,如上图所示。 kitematic,以前是一个独立的组件

There are no components in DLL that can be placed on toolbox

笑着哭i 提交于 2019-12-03 11:51:29
I have a DatePicker custom control that I am trying to add to toolbox. The name of the file is BasicFrame.WebControls.BasicDatePicker.dll and I go through the procedure of right click in Toolbox > Choose Items and then selecting the file after browsing to it under .NET Framework components. I however get this error message: There are no components in that can be placed on toolbox Why do I get this message and how can I resolve it? MikeT Have you checked the visibility of the custom classes? If you haven't declared them as public they will default to internal and hence aren't exposed to Visual

Docker ToolBox在win下安装试用

一世执手 提交于 2019-12-03 10:19:11
1.Docker ToolBox简介 Docker Toolbox是Docker环境的安装程序,能够简单高效的将Docker环境安装到你的计算机上。目前支持mac和windows系统。 包括 Docker Client, Machine, Compose, Kitematic 和 VirtualBox。 2.Docker Toolbox 在 win 下安装 环境: win10 64bit 2.1 官方文档 Docker官网win下介绍: https://docs.docker.com/windows/ Docker官网win下安装说明: https://docs.docker.com/windows/step_one/ 2.2 检查系统是否符合win下安装条件 Win7.1 以上版本的系统; 支持虚拟化,并且系统中虚拟化已开启。 备注win下主机系统或者虚拟机开启虚拟化的方法: 1.win 下开启 BOIS : http://pcsupport.about.com/od/fixtheproblem/ht/accessbios.htm http://pcsupport.about.com/od/fixtheproblem/a/biosaccess_pc.htm 2.在 BOIS 中开启虚拟化: https://access.redhat.com/documentation/en-US