6 overrides of Image
System.Windows.Forms (3)
System\Windows\Forms\Controls\ToolStrips\ToolStripControlHost.cs (1)
232
public override Image?
Image
System\Windows\Forms\Controls\ToolStrips\ToolStripSeparator.cs (1)
123
public override Image?
Image
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitButton.ToolStripSplitButtonButton.cs (1)
71
public override Image?
Image
System.Windows.Forms.Design (3)
System\Windows\Forms\Design\BaseContextMenuStrip.cs (1)
287
public override Image?
Image
System\Windows\Forms\Design\ItemTypeToolStripMenuItem.cs (1)
32
public override Image?
Image
System\Windows\Forms\Design\StandardCommandToolStripMenuItem.cs (1)
74
public override Image?
Image
176 writes to Image
Accessibility_Core_App (46)
DataControls.Designer.cs (9)
113
this.bindingNavigatorAddNewItem.
Image
= ((System.Drawing.Image)(resources.GetObject("bindingNavigatorAddNewItem.Image")));
130
this.bindingNavigatorDeleteItem.
Image
= ((System.Drawing.Image)(resources.GetObject("bindingNavigatorDeleteItem.Image")));
139
this.bindingNavigatorMoveFirstItem.
Image
= ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveFirstItem.Image")));
148
this.bindingNavigatorMovePreviousItem.
Image
= ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMovePreviousItem.Image")));
176
this.bindingNavigatorMoveNextItem.
Image
= ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveNextItem.Image")));
185
this.bindingNavigatorMoveLastItem.
Image
= ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveLastItem.Image")));
198
this.toolStripButton1.
Image
= ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image")));
212
this.toolStripSplitButton1.
Image
= ((System.Drawing.Image)(resources.GetObject("toolStripSplitButton1.Image")));
220
this.toolStripDropDownButton1.
Image
= ((System.Drawing.Image)(resources.GetObject("toolStripDropDownButton1.Image")));
Menu_Toolbars_controls.Designer.cs (17)
164
newToolStripMenuItem.
Image
= (Image)resources.GetObject("newToolStripMenuItem.Image");
173
openToolStripMenuItem.
Image
= (Image)resources.GetObject("openToolStripMenuItem.Image");
187
saveToolStripMenuItem.
Image
= (Image)resources.GetObject("saveToolStripMenuItem.Image");
207
printToolStripMenuItem.
Image
= (Image)resources.GetObject("printToolStripMenuItem.Image");
216
printPreviewToolStripMenuItem.
Image
= (Image)resources.GetObject("printPreviewToolStripMenuItem.Image");
262
cutToolStripMenuItem.
Image
= (Image)resources.GetObject("cutToolStripMenuItem.Image");
271
copyToolStripMenuItem.
Image
= (Image)resources.GetObject("copyToolStripMenuItem.Image");
280
pasteToolStripMenuItem.
Image
= (Image)resources.GetObject("pasteToolStripMenuItem.Image");
435
toolStripDropDownButton1.
Image
= (Image)resources.GetObject("toolStripDropDownButton1.Image");
461
toolStripSplitButton1.
Image
= (Image)resources.GetObject("toolStripSplitButton1.Image");
514
newToolStripButton.
Image
= (Image)resources.GetObject("newToolStripButton.Image");
528
toolStripButton1.
Image
= (Image)resources.GetObject("toolStripButton1.Image");
538
toolStripButton2.
Image
= (Image)resources.GetObject("toolStripButton2.Image");
550
toolStripButton3.
Image
= (Image)resources.GetObject("toolStripButton3.Image");
561
toolStripButton4.
Image
= (Image)resources.GetObject("toolStripButton4.Image");
573
toolStripButton5.
Image
= (Image)resources.GetObject("toolStripButton5.Image");
584
toolStripButton6.
Image
= (Image)resources.GetObject("toolStripButton6.Image");
ToolStripContainer.Designer.cs (20)
153
this.toolStripButton1.
Image
= ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image")));
164
this.toolStripSplitButton1.
Image
= ((System.Drawing.Image)(resources.GetObject("toolStripSplitButton1.Image")));
179
this.newToolStripButton.
Image
= ((System.Drawing.Image)(resources.GetObject("newToolStripButton.Image")));
188
this.openToolStripButton.
Image
= ((System.Drawing.Image)(resources.GetObject("openToolStripButton.Image")));
197
this.saveToolStripButton.
Image
= ((System.Drawing.Image)(resources.GetObject("saveToolStripButton.Image")));
206
this.printToolStripButton.
Image
= ((System.Drawing.Image)(resources.GetObject("printToolStripButton.Image")));
220
this.cutToolStripButton.
Image
= ((System.Drawing.Image)(resources.GetObject("cutToolStripButton.Image")));
229
this.copyToolStripButton.
Image
= ((System.Drawing.Image)(resources.GetObject("copyToolStripButton.Image")));
238
this.pasteToolStripButton.
Image
= ((System.Drawing.Image)(resources.GetObject("pasteToolStripButton.Image")));
252
this.helpToolStripButton.
Image
= ((System.Drawing.Image)(resources.GetObject("helpToolStripButton.Image")));
293
this.toolStripDropDownButton1.
Image
= ((System.Drawing.Image)(resources.GetObject("toolStripDropDownButton1.Image")));
308
this.toolStripSplitButton2.
Image
= ((System.Drawing.Image)(resources.GetObject("toolStripSplitButton2.Image")));
382
this.newToolStripMenuItem.
Image
= ((System.Drawing.Image)(resources.GetObject("newToolStripMenuItem.Image")));
390
this.openToolStripMenuItem.
Image
= ((System.Drawing.Image)(resources.GetObject("openToolStripMenuItem.Image")));
403
this.saveToolStripMenuItem.
Image
= ((System.Drawing.Image)(resources.GetObject("saveToolStripMenuItem.Image")));
422
this.printToolStripMenuItem.
Image
= ((System.Drawing.Image)(resources.GetObject("printToolStripMenuItem.Image")));
430
this.printPreviewToolStripMenuItem.
Image
= ((System.Drawing.Image)(resources.GetObject("printPreviewToolStripMenuItem.Image")));
482
this.cutToolStripMenuItem.
Image
= ((System.Drawing.Image)(resources.GetObject("cutToolStripMenuItem.Image")));
490
this.copyToolStripMenuItem.
Image
= ((System.Drawing.Image)(resources.GetObject("copyToolStripMenuItem.Image")));
498
this.pasteToolStripMenuItem.
Image
= ((System.Drawing.Image)(resources.GetObject("pasteToolStripMenuItem.Image")));
DesignSurface (3)
MainForm.Designer.cs (3)
213
this.ToolStripMenuItemCut.
Image
= ((System.Drawing.Image)(resources.GetObject("ToolStripMenuItemCut.Image")));
223
this.ToolStripMenuItemCopy.
Image
= ((System.Drawing.Image)(resources.GetObject("ToolStripMenuItemCopy.Image")));
233
this.ToolStripMenuItemPaste.
Image
= ((System.Drawing.Image)(resources.GetObject("ToolStripMenuItemPaste.Image")));
System.Windows.Forms (15)
System\Windows\Forms\Controls\ToolStrips\ToolStripControlHost.cs (1)
235
set => base.
Image
= value;
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (2)
170
Image
= image;
3389
public virtual void ResetImage() =>
Image
= null;
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (2)
134
Image
= GetNativeMenuItemImage();
508
menuItem.
Image
= Image;
System\Windows\Forms\Controls\ToolStrips\ToolStripSeparator.cs (1)
126
set => base.
Image
= value;
System\Windows\Forms\DataBinding\BindingNavigator.cs (6)
188
MoveFirstItem.
Image
= moveFirstImage;
189
MovePreviousItem.
Image
= movePreviousImage;
190
MoveNextItem.
Image
= moveNextImage;
191
MoveLastItem.
Image
= moveLastImage;
192
AddNewItem.
Image
= addNewImage;
193
DeleteItem.
Image
= deleteImage;
System\Windows\Forms\MDI\MDIControlStrip.cs (3)
62
_system.
Image
= GetTargetWindowIcon();
90
_system.
Image
= GetTargetWindowIcon();
130
_system.
Image
= GetTargetWindowIcon();
System.Windows.Forms.Design (4)
System\Windows\Forms\Design\ToolStripItemCustomMenuItemCollection.cs (3)
75
item.
Image
= new Icon(typeof(ToolStripMenuItem), imageName).ToBitmap();
123
Image
= new Icon(typeof(ToolStripMenuItem), "image").ToBitmap(),
218
_editItemsToolStripMenuItem.
Image
= new Icon(typeof(ToolStripMenuItem), "editdropdownlist").ToBitmap();
System\Windows\Forms\Design\ToolStripTemplateNode.cs (1)
1443
_addItemButton.
Image
= ScaleHelper.GetSmallIconResourceAsBitmap(
System.Windows.Forms.Tests (99)
System\Windows\Forms\ToolStripItemImageRenderEventArgsTests.cs (5)
33
yield return new object[] { graphics, new ToolStripButton() {
Image
= image }, new Rectangle(1, 2, 3, 4), image };
39
Image
= image
47
Image
= image
80
Image
= image
93
yield return new object[] { new ToolStripButton() {
Image
= new Bitmap(10, 10) }, new Bitmap(10, 10), new Rectangle(1, 2, 3, 4) };
System\Windows\Forms\ToolStripItemTests.cs (93)
1125
Image
= image,
1162
Image
= image,
1217
Image
= image,
1260
Image
= image,
1306
Image
= image,
1355
Image
= image,
1398
Image
= image,
1432
Image
= image,
2525
Image
= image,
2598
Image
= image,
2621
Image
= image,
2648
Image
= image,
2685
Image
= image,
2713
Image
= image,
2756
Image
= image,
2783
Image
= image,
2820
Image
= image,
2860
Image
= image,
3799
item.
Image
= value;
3804
item.
Image
= value;
3830
item.
Image
= value;
3835
item.
Image
= value;
3847
Image
= oldValue,
3851
item.
Image
= value;
3856
item.
Image
= value;
3868
Image
= oldValue,
3873
item.
Image
= value;
3878
item.
Image
= value;
3920
item.
Image
= value;
3927
item.
Image
= value;
3972
item.
Image
= value;
3982
item.
Image
= value;
4013
item.
Image
= value;
4020
item.
Image
= value;
4055
item.
Image
= value;
4065
item.
Image
= value;
4088
item.
Image
= image;
4116
item.
Image
= otherImage;
4133
item.
Image
= image;
4161
item.
Image
= otherImage;
4409
Image
= image,
4761
Image
= image
4840
Image
= image
4917
Image
= image,
5254
Image
= image
5346
Image
= image
5614
Image
= image
5631
Image
= image,
5651
Image
= image
5684
Image
= image
5718
Image
= image
5751
Image
= image
6970
Image
= image,
7026
Image
= image,
9175
Image
= image,
9212
Image
= image,
9267
Image
= image,
9310
Image
= image,
9356
Image
= image,
9405
Image
= image,
9448
Image
= image,
9482
Image
= image,
9877
Image
= image
9914
Image
= image,
9956
Image
= image,
10028
Image
= image
10067
Image
= image,
10111
Image
= image,
11113
Image
= image
11142
Image
= image
11172
Image
= image,
11205
Image
= image,
11251
Image
= image,
11284
Image
= image,
12545
Image
= image,
12559
Image
= image
13206
Image
= image
13235
Image
= image
13265
Image
= image,
13309
Image
= image,
13375
Image
= image,
13441
Image
= image,
13501
Image
= image,
13545
Image
= image,
14168
item.
Image
= new Bitmap(10, 10);
14835
Image
= image
14873
Image
= image,
14929
Image
= image,
14972
Image
= image,
15018
Image
= image,
15067
Image
= image,
15110
Image
= image,
15144
Image
= image,
System\Windows\Forms\ToolStripMenuItemTests.cs (1)
288
Image
= new Bitmap(10, 10),
System.Windows.Forms.UI.IntegrationTests (1)
DragDropTests.cs (1)
1055
Image
= _dragAcceptBmp,
WinFormsControlsTest (8)
Dialogs.cs (1)
29
Image
= (Bitmap?)resources.GetObject("OpenDialog"),
DragDrop.cs (4)
449
Image
= _toolStripNyanCatBmp,
477
Image
= _toolStripDragAcceptBmp
488
Image
= _toolStripNyanCatBmp
499
Image
= _toolStripAsciiCatBmp
MessageBoxes.cs (1)
20
Image
= (System.Drawing.Bitmap?)(resources.GetObject("OpenDialog")),
ToolStripTests.cs (2)
20
toolStrip2_Button4.
Image
= Image.FromFile("Images\\SmallA.bmp");
22
toolStrip2_Button5.
Image
= Image.FromFile("Images\\SmallABlue.bmp");
171 references to Image
System.Windows.Forms (22)
System\Windows\Forms\Controls\ToolStrips\ToolStripControlHost.cs (1)
234
get => base.
Image
;
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownMenu.cs (2)
308
if (menuItem.
Image
is not null)
310
imageSize = (menuItem.ImageScaling == ToolStripItemImageScaling.SizeToFit) ? ImageScalingSize : menuItem.
Image
.Size;
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (11)
1045
if (
Image
== value)
1089
if (
Image
is Bitmap currentImage && value != Color.Empty)
1711
Image? image =
Image
;
2035
Image? image =
Image
;
2444
ImageAnimator.UpdateFrames(
Image
);
3329
/// Determines if the <see cref="
Image
"/> property needs to be persisted.
3332
private bool ShouldSerializeImage() =>
Image
is not null && ImageIndexer.ActualIndex < 0;
3335
/// Determines if the <see cref="
Image
"/> property needs to be persisted.
3339
=>
Image
is not null && ImageIndexer.ActualIndex >= 0 && !string.IsNullOrEmpty(ImageIndexer.Key);
3342
/// Determines if the <see cref="
Image
"/> property needs to be persisted.
3346
=>
Image
is not null && ImageIndexer.ActualIndex >= 0 && ImageIndexer.Index != ImageList.Indexer.DefaultIndex;
System\Windows\Forms\Controls\ToolStrips\ToolStripItemImageRenderEventArgs.cs (1)
14
Image = (item.RightToLeftAutoMirrorImage && item.RightToLeft == RightToLeft.Yes) ? item.MirroredImage : item.
Image
;
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (3)
508
menuItem.Image =
Image
;
1015
if (menuItemInternalLayout.PaintImage && (DisplayStyle & ToolStripItemDisplayStyle.Image) == ToolStripItemDisplayStyle.Image &&
Image
is not null)
1028
if ((DisplayStyle & ToolStripItemDisplayStyle.Image) == ToolStripItemDisplayStyle.Image &&
Image
is not null)
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.ToolStripMenuItemInternalLayout.cs (1)
125
Image? image = _ownerItem.
Image
?? _ownerItem.CheckedImage;
System\Windows\Forms\Controls\ToolStrips\ToolStripSeparator.cs (1)
125
get => base.
Image
;
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitButton.cs (1)
228
_splitButtonButton.Image =
Image
;
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitButton.ToolStripSplitButtonButton.cs (1)
77
return _owner.
Image
;
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\ToolStripItemDesigner.cs (1)
813
if (newItem.
Image
is null && newItem is ToolStripButton)
System.Windows.Forms.Design.Tests (1)
System\Windows\Forms\Design\ItemTypeToolStripMenuItemTests.cs (1)
36
_item.
Image
.Should().BeOfType<Bitmap>().Which.Should().Be(ToolStripDesignerUtils.GetToolboxBitmap(typeof(string)));
System.Windows.Forms.Tests (147)
BindingNavigatorTests.cs (1)
104
Assert.NotNull(item.
Image
);
System\Windows\Forms\AccessibleObjects\ToolStripDropDownButton.ToolStripDropDownButtonAccessibleObjectTests.cs (1)
120
toolStripDropDownButton.
Image
.Should().Be(image);
System\Windows\Forms\MdiControlStripTests.cs (1)
188
Assert.NotNull(item.
Image
);
System\Windows\Forms\MenuStripTests.cs (1)
452
Assert.Same(image, item.
Image
);
System\Windows\Forms\StatusStripTests.cs (1)
887
Assert.Same(image, button.
Image
);
System\Windows\Forms\ToolStripButtonTests.cs (6)
59
Assert.Null(item.
Image
);
140
Assert.Null(item.
Image
);
227
Assert.Same(image, item.
Image
);
317
Assert.Same(image, item.
Image
);
405
Assert.Equal(image, item.
Image
);
503
Assert.Equal(image, item.
Image
);
System\Windows\Forms\ToolStripDropDownItemTests.cs (4)
59
Assert.Null(item.
Image
);
148
Assert.Equal(image, item.
Image
);
247
Assert.Equal(image, item.
Image
);
355
Assert.Equal(image, item.
Image
);
System\Windows\Forms\ToolStripDropDownTests.cs (1)
2964
Assert.Same(image, button.
Image
);
System\Windows\Forms\ToolStripItemCollectionTests.cs (2)
369
item.
Image
.Should().Be(image);
384
item.
Image
.Should().Be(image);
System\Windows\Forms\ToolStripItemTests.cs (103)
58
Assert.Null(item.
Image
);
143
Assert.Equal(image, item.
Image
);
238
Assert.Equal(image, item.
Image
);
3684
Assert.Null(item.
Image
);
3687
Assert.Null(item.
Image
);
3705
Assert.NotNull(item.
Image
);
3708
Assert.Same(item.
Image
, item.
Image
);
3726
Assert.Null(item.
Image
);
3729
Assert.Null(item.
Image
);
3750
Assert.Null(item.
Image
);
3753
Assert.Null(item.
Image
);
3773
Assert.Null(item.
Image
);
3776
Assert.Null(item.
Image
);
3800
Assert.Equal(value, item.
Image
);
3805
Assert.Equal(value, item.
Image
);
3831
Assert.Equal(value, item.
Image
);
3836
Assert.Equal(value, item.
Image
);
3852
Assert.Equal(value, item.
Image
);
3857
Assert.Equal(value, item.
Image
);
3874
Assert.Equal(value, item.
Image
);
3879
Assert.Equal(value, item.
Image
);
3921
Assert.Equal(value, item.
Image
);
3928
Assert.Equal(value, item.
Image
);
3973
Assert.Equal(value, item.
Image
);
3983
Assert.Equal(value, item.
Image
);
4014
Assert.Equal(value, item.
Image
);
4021
Assert.Equal(value, item.
Image
);
4056
Assert.Equal(value, item.
Image
);
4066
Assert.Equal(value, item.
Image
);
4083
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(ToolStripItem))[nameof(ToolStripItem.
Image
)];
4089
Assert.Same(image, item.
Image
);
4093
Assert.Null(item.
Image
);
4100
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(ToolStripItem))[nameof(ToolStripItem.
Image
)];
4117
Assert.Same(otherImage, item.
Image
);
4121
Assert.Null(item.
Image
);
4128
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(ToolStripItem))[nameof(ToolStripItem.
Image
)];
4134
Assert.Same(image, item.
Image
);
4138
Assert.Null(item.
Image
);
4145
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(ToolStripItem))[nameof(ToolStripItem.
Image
)];
4162
Assert.Same(otherImage, item.
Image
);
4166
Assert.Null(item.
Image
);
4391
Assert.Null(item.
Image
);
4397
Assert.Null(item.
Image
);
4415
Assert.Null(item.
Image
);
4422
Assert.Null(item.
Image
);
4439
Assert.Null(item.
Image
);
4446
Assert.Null(item.
Image
);
4475
Assert.Null(item.
Image
);
4482
Assert.Null(item.
Image
);
4525
Assert.Equal(expectedHasImage, item.
Image
is not null);
4533
Assert.Equal(expectedHasImage, item.
Image
is not null);
4576
Assert.Null(item.
Image
);
4586
Assert.Null(item.
Image
);
4618
Assert.Null(item.
Image
);
4625
Assert.Null(item.
Image
);
4660
Assert.Null(item.
Image
);
4667
Assert.Null(item.
Image
);
4703
Assert.Null(item.
Image
);
4713
Assert.Null(item.
Image
);
4901
Assert.Null(item.
Image
);
4907
Assert.Null(item.
Image
);
4922
Assert.Null(item.
Image
);
4928
Assert.Null(item.
Image
);
4942
Assert.Null(item.
Image
);
4948
Assert.Null(item.
Image
);
4975
Assert.Null(item.
Image
);
4982
Assert.Null(item.
Image
);
5027
Assert.Equal(expectedHasImage, item.
Image
is not null);
5035
Assert.Equal(expectedHasImage, item.
Image
is not null);
5076
Assert.Null(item.
Image
);
5086
Assert.Null(item.
Image
);
5116
Assert.Null(item.
Image
);
5123
Assert.Null(item.
Image
);
5156
Assert.Null(item.
Image
);
5163
Assert.Null(item.
Image
);
5197
Assert.Null(item.
Image
);
5207
Assert.Null(item.
Image
);
9856
Assert.Null(item.
Image
);
9862
Assert.Null(item.
Image
);
9882
Assert.Equal(callCount > 0, item.
Image
is null);
9892
Assert.Null(item.
Image
);
9898
Assert.Null(item.
Image
);
9920
Assert.Equal(callCount > 0, item.
Image
is null);
9930
Assert.Null(item.
Image
);
9938
Assert.Null(item.
Image
);
9962
Assert.Equal(callCount > 0, item.
Image
is null);
9972
Assert.Null(item.
Image
);
9980
Assert.Null(item.
Image
);
10005
Assert.Null(item.
Image
);
10011
Assert.Null(item.
Image
);
10033
Assert.Equal(callCount > 0, item.
Image
is null);
10043
Assert.Equal(disposing, item.
Image
is null);
10049
Assert.Equal(disposing, item.
Image
is null);
10073
Assert.Equal(callCount > 0, item.
Image
is null);
10083
Assert.Equal(disposing, item.
Image
is null);
10091
Assert.Equal(disposing, item.
Image
is null);
10117
Assert.Equal(callCount > 0, item.
Image
is null);
10127
Assert.Equal(disposing, item.
Image
is null);
10135
Assert.Equal(disposing, item.
Image
is null);
14165
Assert.Null(item.
Image
);
14170
Assert.Null(item.
Image
);
14174
Assert.Null(item.
Image
);
System\Windows\Forms\ToolStripLabelTests.cs (6)
21
toolStripLabel.
Image
.Should().BeNull();
33
toolStripLabel.
Image
.Should().BeNull();
44
toolStripLabel.
Image
.Should().Be(image);
58
toolStripLabel.
Image
.Should().Be(image);
72
toolStripLabel.
Image
.Should().Be(image);
88
toolStripLabel.
Image
.Should().Be(image);
System\Windows\Forms\ToolStripMenuItemTests.cs (8)
63
Assert.Null(item.
Image
);
195
itemWithImage.
Image
.Should().Be(image);
200
itemWithTextAndImage.
Image
.Should().Be(image);
215
item.
Image
.Should().Be(image);
233
item.
Image
.Should().Be(image);
249
item.
Image
.Should().Be(image);
333
clone.
Image
.Should().Be(original.
Image
);
System\Windows\Forms\ToolStripSplitButtonTests.cs (7)
82
_toolStripSplitButton.
Image
.Should().BeNull();
92
_toolStripSplitButton.
Image
.Should().BeNull();
103
toolStripSplitButton.
Image
.Should().Be(image);
114
toolStripSplitButton.
Image
.Should().Be(image);
128
toolStripSplitButton.
Image
.Should().Be(image);
145
toolStripSplitButton.
Image
.Should().Be(image);
163
toolStripSplitButton.
Image
.Should().Be(image);
System\Windows\Forms\ToolStripStatusLabelTests.cs (4)
39
label.
Image
.Should().Be(sampleImage);
49
label.
Image
.Should().Be(sampleImage);
62
label.
Image
.Should().Be(sampleImage);
78
toolStripStatusLabel.
Image
.Should().Be(image);
System\Windows\Forms\ToolStripTests.cs (1)
4282
Assert.Same(image, button.
Image
);