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 ...
随机推荐
- Blog Post Rating CodeForces - 806E (线段树二分)
题目链接 题目大意: 有一个博客, 初始分数为$0$, 有$n$个人, 第$i$个人有一个期望值$a_i$, 如果第$i$个人浏览博客时,博客赞数高于$a_i$博客分数$-1$, 低于$+1$, 相等 ...
- Anton and School - 2 CodeForces - 785D (组合计数,括号匹配)
大意: 给定括号字符串, 求多少个子序列是RSGS. RSGS定义如下: It is not empty (that is n ≠ 0). The length of the sequence is ...
- zabbix3.0.4 配置邮件报警
试验环境: LAMP环境 (LNMP环境已经成功了,为了避免干扰,我另一台LAMP主机) ### 我在做实验之前,作了时间同步,不知道这个有木有影响,一起说一下吧! yum -y install nt ...
- n转m进制标准写法(必须记忆)
#include <bits/stdc++.h> using namespace std; int main() { int n,m; cin >> n >> m; ...
- 【译】MVC3 20个秘方-(15)使用CAPTCHA去防止恶意软件自动提交评论(防灌水)
[译]MVC3 20个秘方-(15)使用CAPTCHA去防止恶意软件自动提交评论(防灌水) 问题 有种不太幸运的情况,有人用自动程序去提交表单,在整个互联网中造成大量的垃圾.为了防止这种情况的方法 ...
- EClassNotFound
---------------------------Debugger Exception Notification---------------------------Project Project ...
- python字典{}大括号
#字典 info = { 'name1':'jack', 'name2':'rose', 'name3':'tom', 'name4':'jerry', 'name5':'james' } info[ ...
- 浅谈:当程序员的N多好处,逆袭高富师
选择一份职业,除了要要分析有没有钱途外(为什么要选择 IT 行业,IT 业有多火爆你造吗?),还要平衡其他方面的利弊.有很多想进入这个行业的小伙伴问我,程序员到底有什么好处.看样子这是很多小伙伴关心的 ...
- VMware Station NAT上网模式配置
- L1-021 重要的话说三遍
这道超级简单的题目没有任何输入. 你只需要把这句很重要的话 —— “I'm gonna WIN!”——连续输出三遍就可以了. 注意每遍占一行,除了每行的回车不能有任何多余字符. 输入样例: 无 输出样 ...