111 references to Images
System.Messaging (2)
System\Messaging\Design\QueuePathDialog.cs (2)
255
this.icons.
Images
.Add(new Bitmap(typeof(MessageQueue), "Machine.bmp"));
256
this.icons.
Images
.Add(new Bitmap(typeof(MessageQueue), "PublicQueue.bmp"));
System.Windows.Forms (75)
winforms\Managed\System\WinForms\ButtonBase.cs (5)
337
if(actualIndex >= imageList.
Images
.Count) {
338
actualIndex = imageList.
Images
.Count - 1;
342
return imageList.
Images
[actualIndex];
411
if (imageIndex.Index != -1 && imageList != null && imageIndex.Index >= imageList.
Images
.Count) {
412
return imageList.
Images
.Count - 1;
winforms\Managed\System\WinForms\ColumnHeader.cs (4)
100
if (this.ImageList == null || this.ImageList.
Images
== null || imgIndex >= this.ImageList.
Images
.Count) {
197
if (imageIndexer.Index != -1 && ImageList != null && imageIndexer.Index >= ImageList.
Images
.Count) {
198
return ImageList.
Images
.Count - 1;
winforms\Managed\System\WinForms\Design\ComponentEditorForm.cs (1)
248
selectorImageList.
Images
.Add(page.Icon.ToBitmap());
winforms\Managed\System\WinForms\ImageIndexConverter.cs (1)
134
int nImages = imageList.
Images
.Count;
winforms\Managed\System\WinForms\ImageKeyConverter.cs (2)
149
int nImages = imageList.
Images
.Count;
161
StringCollection imageKeys = imageList.
Images
.Keys;
winforms\Managed\System\WinForms\ImageList.cs (11)
148
return ImageList.
Images
.IndexOfKey(Key);
188
return (
Images
.Count==0);
283
return (
Images
.Count==0);
297
if (
Images
.Empty)
344
Images
.ResetKeys();
353
Images
.Clear();
626
if (index < 0 || index >=
Images
.Count)
693
if (index < 0 || index >=
Images
.Count)
876
if (originals == null ||
Images
.Empty)
907
if (
Images
!= null) {
908
return s + " Images.Count: " +
Images
.Count.ToString(CultureInfo.CurrentCulture) + ", ImageSize: " + ImageSize.ToString();
winforms\Managed\System\WinForms\Label.cs (6)
462
return ImageList.
Images
[ImageIndexer.ActualIndex];
508
if (ImageList != null && (index >= ImageList.
Images
.Count)) {
509
return ImageList.
Images
.Count - 1;
1845
return (Index < ImageList.
Images
.Count) ? Index : ImageList.
Images
.Count - 1;
1848
return ImageList.
Images
.IndexOfKey(Key);
winforms\Managed\System\WinForms\ListView.cs (4)
1586
SendMessage(NativeMethods.LVM_SETIMAGELIST, NativeMethods.LVSIL_STATE, (imageListState == null || imageListState.
Images
.Count == 0) ? IntPtr.Zero : imageListState.Handle);
4037
if (item.ImageIndexer.ActualIndex != -1 && item.ImageIndexer.ActualIndex >= imageListLarge.
Images
.Count) {
4038
SetItemImage(item.Index,imageListLarge.
Images
.Count - 1);
5428
if (imageListState != null && imageListState.
Images
.Count < 2) {
winforms\Managed\System\WinForms\ListViewItem.cs (2)
530
if (ImageIndexer.Index != -1 && ImageList != null && ImageIndexer.Index >= ImageList.
Images
.Count) {
531
return ImageList.
Images
.Count - 1;
winforms\Managed\System\WinForms\Printing\PrintPreviewDialog.cs (1)
83
imageList.
Images
.AddStrip(bitmaps);
winforms\Managed\System\WinForms\PropertyGrid.cs (8)
1657
int result = imageList[NORMAL_BUTTONS].
Images
.Count;
1658
imageList[NORMAL_BUTTONS].
Images
.Add(image);
2460
ImageList.ImageCollection images = imageList[NORMAL_BUTTONS].
Images
;
2464
this.imageList[LARGE_BUTTONS].
Images
.Add(new Bitmap((Bitmap)images[i], largeButtonSize.Width, largeButtonSize.Height));
2484
this.imageList[LARGE_BUTTONS].
Images
.Add(largeBitmap);
4022
imageList[NORMAL_BUTTONS].
Images
.RemoveAt(index);
4024
imageList[LARGE_BUTTONS].
Images
.RemoveAt(index);
4447
items = imageList[NORMAL_BUTTONS].
Images
.Count;
winforms\Managed\System\WinForms\ToolStripItem.cs (4)
1246
if (ImageIndexer.ActualIndex < Owner.ImageList.
Images
.Count) {
1248
image = Owner.ImageList.
Images
[ImageIndexer.ActualIndex];
1323
if ((Owner != null) && ImageIndexer.Index != -1 && Owner.ImageList != null && ImageIndexer.Index >= Owner.ImageList.
Images
.Count) {
1324
return Owner.ImageList.
Images
.Count - 1;
winforms\Managed\System\WinForms\TreeNode.cs (3)
1536
this.StateImageKey = treeView.StateImageList.
Images
.Keys[this.StateImageIndex];
1963
item.iImage = Math.Max(0, ((ImageIndexer.ActualIndex >= tv.ImageList.
Images
.Count) ? tv.ImageList.
Images
.Count - 1 : ImageIndexer.ActualIndex));
winforms\Managed\System\WinForms\TreeView.cs (20)
561
if (ImageIndexer.Index >= imageList.
Images
.Count) {
562
return Math.Max(0, imageList.
Images
.Count - 1);
649
if (StateImageList != null && StateImageList.
Images
.Count > 0) {
723
if((value == null || stateImageList.
Images
.Count == 0) && CheckBoxes) {
1051
if (SelectedImageIndexer.Index >= imageList.
Images
.Count) {
1052
return Math.Max(0, imageList.
Images
.Count - 1);
1885
if (stateImageList != null && stateImageList.
Images
.Count > 0) {
1886
Image[] images = new Image[stateImageList.
Images
.Count + 1];
1887
images[0] = stateImageList.
Images
[0];
1888
for (int i = 1; i <= stateImageList.
Images
.Count ; i++) {
1889
images[i] = stateImageList.
Images
[i -1];
1894
internalStateImageList.
Images
.Clear();
1895
internalStateImageList.
Images
.AddRange(images);
1900
internalStateImageList.
Images
.AddRange(images);
2066
if (stateImageList != null && stateImageList.
Images
.Count > 0)
2074
Image[] images = new Image[stateImageList.
Images
.Count + 1];
2075
images[0] = stateImageList.
Images
[0];
2076
for (int i = 1; i <= stateImageList.
Images
.Count; i++)
2078
images[i] = stateImageList.
Images
[i - 1];
2080
newImageList.
Images
.AddRange(images);
winforms\Managed\System\WinForms\TreeViewImageIndexConverter.cs (1)
128
int nImages = imageList.
Images
.Count+2;
winforms\Managed\System\WinForms\VisualStyles\VisualStyleRenderer.cs (2)
406
if (imageIndex < 0 || imageIndex >= imageList.
Images
.Count) {
424
g.DrawImage(imageList.
Images
[imageIndex], bounds);
System.Workflow.Activities (23)
Rules\Design\Dialogs\BasicBrowserDialog.Designer.cs (4)
126
this.imageList.
Images
.SetKeyName(0, "NewRule.bmp");
127
this.imageList.
Images
.SetKeyName(1, "EditRule.bmp");
128
this.imageList.
Images
.SetKeyName(2, "RenameRule.bmp");
129
this.imageList.
Images
.SetKeyName(3, "Delete.bmp");
Rules\Design\Dialogs\IntellisenseTextBox.Designer.cs (16)
41
this.autoCompletionImageList.
Images
.SetKeyName(0, "");
42
this.autoCompletionImageList.
Images
.SetKeyName(1, "");
43
this.autoCompletionImageList.
Images
.SetKeyName(2, "");
44
this.autoCompletionImageList.
Images
.SetKeyName(3, "");
45
this.autoCompletionImageList.
Images
.SetKeyName(4, "");
46
this.autoCompletionImageList.
Images
.SetKeyName(5, "");
47
this.autoCompletionImageList.
Images
.SetKeyName(6, "");
48
this.autoCompletionImageList.
Images
.SetKeyName(7, "");
49
this.autoCompletionImageList.
Images
.SetKeyName(8, "");
50
this.autoCompletionImageList.
Images
.SetKeyName(9, "");
51
this.autoCompletionImageList.
Images
.SetKeyName(10, "");
52
this.autoCompletionImageList.
Images
.SetKeyName(11, "");
53
this.autoCompletionImageList.
Images
.SetKeyName(12, "");
54
this.autoCompletionImageList.
Images
.SetKeyName(13, "");
55
this.autoCompletionImageList.
Images
.SetKeyName(14, "Keyword.bmp");
56
this.autoCompletionImageList.
Images
.SetKeyName(15, "MethodExtension.bmp");
Rules\Design\Dialogs\RuleSetDialog.Designer.cs (3)
167
this.imageList.
Images
.SetKeyName(0, "NewRule.bmp");
168
this.imageList.
Images
.SetKeyName(1, "RenameRule.bmp");
169
this.imageList.
Images
.SetKeyName(2, "Delete.bmp");
System.Workflow.ComponentModel (11)
AuthoringOM\Design\Dialogs\ActivityBindForm.cs (4)
1069
for (int i = 0; i < memberTypes.
Images
.Count; i++)
1071
Image image = memberTypes.
Images
[i];
1072
this.TreeView.ImageList.
Images
.Add(string.Format(CultureInfo.InvariantCulture, MemberTypeFormat, i), image); //member type key is non-localizable
1106
node.ImageIndex = node.SelectedImageIndex = this.TreeView.ImageList.
Images
.IndexOfKey(string.Format(CultureInfo.InvariantCulture, MemberTypeFormat, imageNumber)); //it's non-localizable
AuthoringOM\Design\Dialogs\ThemeConfigurationDialog.cs (2)
738
treeView.ImageList.
Images
.Add(standardImage, AmbientTheme.TransparentColor);
744
int imageIndex = (image != null) ? treeView.ImageList.
Images
.Add(image, AmbientTheme.TransparentColor) : 0;
AuthoringOM\Design\Dialogs\TypeBrowserDialog.cs (1)
787
this.artifactImages.
Images
.AddStrip((Image)TypeBrowserDialog.ResMgr.GetObject("IDB_ARTIFACTIMAGES"));
AuthoringOM\Design\DocumentOutline.cs (4)
202
int imageIndex = (this.treeView.ImageList != null) ? this.treeView.ImageList.
Images
.IndexOfKey(activity.GetType().FullName) : -1;
217
this.treeView.ImageList.
Images
.Add(activity.GetType().FullName, activityImage);
218
imageIndex = this.treeView.ImageList.
Images
.Count - 1;
438
this.treeView.ImageList.
Images
.Clear();