SharedImageCollection
https://documentation.devexpress.com/#WindowsForms/clsDevExpressUtilsSharedImageCollectiontopic
The image collection that allows you to share images between controls within multiple forms.
Remarks
The SharedImageCollection extends features of the ImageCollection with the capability to share images between controls within multiple forms.
The contents of all SharedImageCollections within the same project are synchronized.
You can drop a SharedImageCollection onto a form and add images to this collection.
You can then drop another SharedImageCollection(s) onto another form(s) and will get access to the same images within these forms.
Note:Images in SharedImageCollections within different forms are synchronized at design time only if the forms remain open.
Unlike the ImageCollection, the SharedImageCollection does not resize images (according to SharedImageCollection.ImageSource.ImageSize property) when they are added to the collection.
At runtime, to add images to the SharedImageCollection, use the ImageSource property, which is of the ImageCollection type.
At design time, you can load images from different sources using the component's smart tag menu.
For more information on image load options and how to use images from image collections in WinForms controls, see ImageCollection.
You can load images to the SharedImageCollection from project resources (The project must be built prior to loading images from resources).
Do not use this feature when you need to share images stored in one project's resources between two or more projects within a single solution.
To share images between multiple projects merged into a single solution, add these images to the SharedImageCollection directly by loading them from disk.
Alternatively, you can create a separate image library to store common images and use the Load Images from External Assembly approach described in the ImageCollection topic.
SharedImageCollection的更多相关文章
- TreeList的使用
添加列 TreeListColumn column = treeList1.Columns.Add(); column.Caption = @"建筑列表"; column.Visi ...
- ImageCollection
https://documentation.devexpress.com/#WindowsForms/clsDevExpressUtilsImageCollectiontopic The collec ...
随机推荐
- Mysql批量导入约束报错
SET foreign_key_checks = 0; 禁用外键,在文件顶部加 SOURCE dump_file_name; 进行SQL执行 SET foreign_key_checks ...
- node搭建本地服务器
随着前端不断发展,node基本已经成为必备,在调试的时候经常需要服务器,在之前的做法通常是去下载一个phpstudy 或者 xampp等启动一个服务,作为一个前端人虽然可以借助各种工具,但是怎么能不懂 ...
- springboot activiti关闭验证自动部署
# spring-activiti # 自动部署验证设置:true-开启(默认).false-关闭 spring.activiti.check-process-definitions=false # ...
- quartz---properties
quartz---properties quartz.properties: 如果没有properties默认读取quartz-2.3.0.jar下的org.quartz下的quartz.proper ...
- 循环大法——一次性理清forEach/for-in/for/$each
国寿的这个项目写得我基础都忘完了 近期会把vue和基础都并行复习.学习 forEach 适用于调用数组的每个元素,并将元素传递给回调函数,但是空数组是不会执行回调函数的.forEach适用于集合中的对 ...
- 关于PermGen space内存溢出错误解决方法
1.参考: http://blog.csdn.net/fox009/article/details/5633007 http://hi.baidu.com/like_dark/blog/item/19 ...
- webservice-jdk客户端代码
使用wsimport.exe 生成客户端代码 使用JDK的bin文件夹中,有一个wsimport.exe,这个工具依据wsdl文件生成相应的类文件,然后用这些文件就可以像调用本地类一样调用本地的类一样 ...
- MinGW安装教程——著名C/C++编译器GCC的Windows版本
前言本文主要讲述如何安装 C语言 编译器——MinGW,特点是文章附有完整详细的实际安装过程截图,文字反而起说明提示作用. 编写本文的原因始于我的一个观点:图片可以比文字传达更多的信息,也能让其他人更 ...
- 【转载】maven用处
http://bbs.csdn.net/topics/80014314 当您的项目逐渐变得庞大和复杂时,最好使用一种构建工具来自动构建您的项目.例如,一个典型的java项目,每次构建时都要经历编译ja ...
- java 引用传递和值传递
1.为什么要分值传递和引用传递: 基本类型存在在栈中,复合类型(对象)存在堆中.操作栈的速度要快于堆,且对象的复制相比基本类型不仅浪费内存而且速度比较慢. 从这里就可以看出来:对象是按照引用传递(数据 ...