1 type derived from PictureBox
System.Windows.Forms.Tests (1)
System\Windows\Forms\PictureBoxTests.cs (1)
2838private class SubPictureBox : PictureBox
117 instantiations of PictureBox
Accessibility_Core_App (1)
CommonControl2.Designer.cs (1)
46this.pictureBox1 = new System.Windows.Forms.PictureBox();
PresentationUI (5)
MS\Internal\Documents\Application\DocumentPropertiesDialog.Designer.cs (1)
68this._iconPictureBox = new System.Windows.Forms.PictureBox();
MS\Internal\Documents\RMEnrollmentPage1.Designer.cs (1)
48_pictureBox = new System.Windows.Forms.PictureBox();
MS\Internal\Documents\RMEnrollmentPage2.Designer.cs (3)
44this._pictureBox1 = new System.Windows.Forms.PictureBox(); 48this._pictureBox2 = new System.Windows.Forms.PictureBox(); 50this._pictureBox4 = new System.Windows.Forms.PictureBox();
System.Windows.Forms (2)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridErrorDialog.cs (1)
134_pictureBox = new()
System\Windows\Forms\Dialogs\ThreadExceptionDialog.cs (1)
59private readonly PictureBox _pictureBox = new();
System.Windows.Forms.Design (4)
System\Windows\Forms\Design\DesignBindingPicker.cs (2)
168PictureBox addNewIcon = new() 293PictureBox addNewIcon = new()
System\Windows\Forms\Design\StyleEditorForm.cs (2)
170_infoPictureBox2 = new PictureBox(); 171_infoPictureBox1 = new PictureBox();
System.Windows.Forms.Design.Tests (5)
System\Windows\Forms\Design\PictureBoxActionListTests.cs (3)
15using PictureBox pictureBox = new() { SizeMode = PictureBoxSizeMode.StretchImage }; 26using PictureBox pictureBox = new(); 40using PictureBox pictureBox = new();
System\Windows\Forms\Design\PictureBoxDesignerTests.cs (2)
20using PictureBox pictureBox = new(); 36using PictureBox pictureBox = new();
System.Windows.Forms.Tests (93)
System\Windows\Forms\AccessibleObjects\PictureBox.PictureBoxAccessibleObjectTests.cs (8)
20using PictureBox pictureBox = new(); 31using PictureBox pictureBox = new() 46using PictureBox pictureBox = new() 61using PictureBox pictureBox = new() 78using PictureBox pictureBox = new(); 97using PictureBox pictureBox = new() 113using PictureBox pictureBox = new(); 140using PictureBox pictureBox = new();
System\Windows\Forms\BinaryFormat\WinFormsBinaryFormattedObjectTests.cs (1)
189{ new PictureBox(), new string[] { "DataContext: Object", "Tag: Object" } },
System\Windows\Forms\PictureBoxTests.cs (84)
143using PictureBox pictureBox = new() 158using PictureBox pictureBox = new(); 173using PictureBox pictureBox = new(); 181using PictureBox control = new() 199using PictureBox control = new() 314using PictureBox pictureBox = new() 331using PictureBox pictureBox = new() 350using PictureBox pictureBox = new(); 367using PictureBox pictureBox = new() 388using PictureBox pictureBox = new(); 405using PictureBox pictureBox = new(); 421using PictureBox control = new() 435using PictureBox control = new(); 489using PictureBox control = new(); 532using PictureBox pictureBox = new() 547using PictureBox pictureBox = new() 564using PictureBox pictureBox = new(); 579using PictureBox pictureBox = new() 598using PictureBox pictureBox = new(); 615using PictureBox pictureBox = new(); 631using PictureBox pictureBox = new() 651using PictureBox pictureBox = new() 669using PictureBox pictureBox = new(); 685using PictureBox pictureBox = new() 717using PictureBox pictureBox = new() 742using PictureBox pictureBox = new() 768using PictureBox pictureBox = new() 788using PictureBox pictureBox = new() 825using PictureBox pictureBox = new() 859using PictureBox pictureBox = new() 884using PictureBox pictureBox = new() 922using PictureBox control = new() 939using PictureBox control = new(); 967using PictureBox control = new(); 1003using PictureBox control = new(); 1011using PictureBox pictureBox = new() 1028using PictureBox pictureBox = new() 1047using PictureBox pictureBox = new(); 1064using PictureBox pictureBox = new() 1085using PictureBox pictureBox = new(); 1102using PictureBox pictureBox = new(); 1125using PictureBox control = new() 1141using PictureBox control = new() 1160using PictureBox control = new() 1177using PictureBox control = new(); 1212using PictureBox control = new(); 1221using PictureBox control = new() 1237using PictureBox control = new(); 1273using PictureBox control = new(); 1327using PictureBox pictureBox = new() 1349using PictureBox pictureBox = new() 1388using PictureBox pictureBox = new(); 1398using PictureBox control = new() 1414using PictureBox control = new() 1452using PictureBox control = new(); 1460using PictureBox control = new() 1482using PictureBox control = new(); 1516using PictureBox control = new() 1555using PictureBox control = new() 1572using PictureBox control = new(); 1600using PictureBox control = new(); 1636using PictureBox control = new() 1655using PictureBox control = new(); 1673using PictureBox control = new() 1712using PictureBox pictureBox = new() 1730using PictureBox pictureBox = new(); 1739using PictureBox pictureBox = new() 1759using PictureBox pictureBox = new() 1778using PictureBox pictureBox = new() 1800using PictureBox pictureBox = new() 1823using PictureBox pictureBox = new() 1847using PictureBox pictureBox = new(); 1855using PictureBox pictureBox = new(); 1909using PictureBox pictureBox = new(); 1927using PictureBox pictureBox = new() 1945using PictureBox pictureBox = new(); 1984using PictureBox pictureBox = new() 2007using PictureBox pictureBox = new() 2040using PictureBox pictureBox = new() 2074using PictureBox pictureBox = new() 2096using PictureBox pictureBox = new() 2116using PictureBox pictureBox = new() 2128using PictureBox pictureBox = new() 2834using PictureBox control = new();
System.Windows.Forms.UI.IntegrationTests (1)
DragDropTests.cs (1)
903PictureBoxDragSource = new PictureBox();
WinFormsControlsTest (6)
DragDrop.Designer.cs (5)
39pictureBox1 = new PictureBox(); 40pictureBox2 = new PictureBox(); 41pictureBox3 = new PictureBox(); 42pictureBox4 = new PictureBox(); 43pictureBox5 = new PictureBox();
PictureBoxes.Designer.cs (1)
34this.pictureBox1 = new System.Windows.Forms.PictureBox();
163 references to PictureBox
Accessibility_Core_App (1)
CommonControl2.Designer.cs (1)
292private System.Windows.Forms.PictureBox pictureBox1;
DesignSurface (2)
MainForm.cs (2)
173PictureBox pb1 = surface.CreateControl<PictureBox>(new Size(64, 64), new Point(12, 176));
PresentationUI (5)
MS\Internal\Documents\Application\DocumentPropertiesDialog.Designer.cs (1)
782private System.Windows.Forms.PictureBox _iconPictureBox;
MS\Internal\Documents\RMEnrollmentPage1.Designer.cs (1)
244private System.Windows.Forms.PictureBox _pictureBox;
MS\Internal\Documents\RMEnrollmentPage2.Designer.cs (3)
244private System.Windows.Forms.PictureBox _pictureBox1; 249private System.Windows.Forms.PictureBox _pictureBox2; 250private System.Windows.Forms.PictureBox _pictureBox4;
System.Windows.Forms (15)
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (3)
241t_defaultErrorImageForThread ??= ScaleHelper.GetIconResourceAsDefaultSizeBitmap(typeof(PictureBox), "ImageInError"); 296/// Retrieves the Image that the <see cref="PictureBox"/> is currently displaying. 400t_defaultInitialImageForThread ??= ScaleHelper.GetIconResourceAsDefaultSizeBitmap(typeof(PictureBox), "PictureBox.Loading");
System\Windows\Forms\Controls\PictureBox\PictureBox.PictureBoxAccessibleObject.cs (1)
13public PictureBoxAccessibleObject(PictureBox owner) : base(owner)
System\Windows\Forms\Controls\PictureBox\PictureBoxSizeMode.cs (9)
7/// Specifies how an image is positioned within a <see cref="PictureBox"/>. 13/// <see cref="PictureBox"/>. The image is clipped 14/// if the <see cref="PictureBox"/> is to small. 19/// The image within the <see cref="PictureBox"/> is stretched or shrunk to fit the 20/// current size of the <see cref="PictureBox"/>. 25/// The <see cref="PictureBox"/> is sized to fit the 32/// <see cref="PictureBox"/> is larger than the 33/// image. If the image is larger than the <see cref="PictureBox"/>, 35/// <see cref="PictureBox"/> and the outside edges are
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridErrorDialog.cs (1)
17private PictureBox _pictureBox;
System\Windows\Forms\Dialogs\ThreadExceptionDialog.cs (1)
59private readonly PictureBox _pictureBox = new();
System.Windows.Forms.Design (10)
System\Windows\Forms\Design\DesignBindingPicker.cs (2)
168PictureBox addNewIcon = new() 293PictureBox addNewIcon = new()
System\Windows\Forms\Design\PictureBoxActionList.cs (4)
12private readonly PictureBox _pictureBox; 18_pictureBox = (PictureBox)designer.Component; 24set => TypeDescriptor.GetProperties(_pictureBox)[nameof(PictureBox.SizeMode)]!.SetValue(Component, value); 27public void ChooseImage() => EditorServiceContext.EditValue(_designer, Component!, nameof(PictureBox.Image));
System\Windows\Forms\Design\PictureBoxDesigner.cs (2)
67PictureBox pictureBox = (PictureBox)Component;
System\Windows\Forms\Design\StyleEditorForm.cs (2)
69private PictureBox _infoPictureBox1; 70private PictureBox _infoPictureBox2;
System.Windows.Forms.Design.Tests (5)
System\Windows\Forms\Design\PictureBoxActionListTests.cs (3)
15using PictureBox pictureBox = new() { SizeMode = PictureBoxSizeMode.StretchImage }; 26using PictureBox pictureBox = new(); 40using PictureBox pictureBox = new();
System\Windows\Forms\Design\PictureBoxDesignerTests.cs (2)
20using PictureBox pictureBox = new(); 36using PictureBox pictureBox = new();
System.Windows.Forms.Tests (112)
System\Windows\Forms\AccessibleObjects\PictureBox.PictureBoxAccessibleObjectTests.cs (16)
14Assert.Throws<ArgumentNullException>("ownerControl", () => new PictureBox.PictureBoxAccessibleObject(null)); 20using PictureBox pictureBox = new(); 22var pictureBoxAccessibleObject = new PictureBox.PictureBoxAccessibleObject(pictureBox); 31using PictureBox pictureBox = new() 37var pictureBoxAccessibleObject = new PictureBox.PictureBoxAccessibleObject(pictureBox); 46using PictureBox pictureBox = new() 52var pictureBoxAccessibleObject = new PictureBox.PictureBoxAccessibleObject(pictureBox); 61using PictureBox pictureBox = new() 67var pictureBoxAccessibleObject = new PictureBox.PictureBoxAccessibleObject(pictureBox); 78using PictureBox pictureBox = new(); 85var pictureBoxAccessibleObject = new PictureBox.PictureBoxAccessibleObject(pictureBox); 97using PictureBox pictureBox = new() 103PictureBox.PictureBoxAccessibleObject pictureBoxAccessibleObject = new(pictureBox); 113using PictureBox pictureBox = new(); 115var pictureBoxAccessibleObject = new PictureBox.PictureBoxAccessibleObject(pictureBox); 140using PictureBox pictureBox = new();
System\Windows\Forms\PictureBoxTests.cs (96)
143using PictureBox pictureBox = new() 158using PictureBox pictureBox = new(); 173using PictureBox pictureBox = new(); 181using PictureBox control = new() 199using PictureBox control = new() 314using PictureBox pictureBox = new() 331using PictureBox pictureBox = new() 350using PictureBox pictureBox = new(); 367using PictureBox pictureBox = new() 387PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(PictureBox))[nameof(PictureBox.ErrorImage)]; 388using PictureBox pictureBox = new(); 404PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(PictureBox))[nameof(PictureBox.ErrorImage)]; 405using PictureBox pictureBox = new(); 421using PictureBox control = new() 435using PictureBox control = new(); 489using PictureBox control = new(); 532using PictureBox pictureBox = new() 547using PictureBox pictureBox = new() 564using PictureBox pictureBox = new(); 579using PictureBox pictureBox = new() 597PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(PictureBox))[nameof(PictureBox.Image)]; 598using PictureBox pictureBox = new(); 614PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(PictureBox))[nameof(PictureBox.Image)]; 615using PictureBox pictureBox = new(); 631using PictureBox pictureBox = new() 651using PictureBox pictureBox = new() 669using PictureBox pictureBox = new(); 685using PictureBox pictureBox = new() 717using PictureBox pictureBox = new() 742using PictureBox pictureBox = new() 768using PictureBox pictureBox = new() 788using PictureBox pictureBox = new() 825using PictureBox pictureBox = new() 859using PictureBox pictureBox = new() 884using PictureBox pictureBox = new() 922using PictureBox control = new() 939using PictureBox control = new(); 967using PictureBox control = new(); 1003using PictureBox control = new(); 1011using PictureBox pictureBox = new() 1028using PictureBox pictureBox = new() 1047using PictureBox pictureBox = new(); 1064using PictureBox pictureBox = new() 1084PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(PictureBox))[nameof(PictureBox.InitialImage)]; 1085using PictureBox pictureBox = new(); 1101PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(PictureBox))[nameof(PictureBox.InitialImage)]; 1102using PictureBox pictureBox = new(); 1125using PictureBox control = new() 1141using PictureBox control = new() 1160using PictureBox control = new() 1177using PictureBox control = new(); 1212using PictureBox control = new(); 1221using PictureBox control = new() 1237using PictureBox control = new(); 1273using PictureBox control = new(); 1327using PictureBox pictureBox = new() 1349using PictureBox pictureBox = new() 1388using PictureBox pictureBox = new(); 1398using PictureBox control = new() 1414using PictureBox control = new() 1452using PictureBox control = new(); 1460using PictureBox control = new() 1482using PictureBox control = new(); 1516using PictureBox control = new() 1555using PictureBox control = new() 1572using PictureBox control = new(); 1600using PictureBox control = new(); 1636using PictureBox control = new() 1655using PictureBox control = new(); 1673using PictureBox control = new() 1712using PictureBox pictureBox = new() 1730using PictureBox pictureBox = new(); 1739using PictureBox pictureBox = new() 1759using PictureBox pictureBox = new() 1778using PictureBox pictureBox = new() 1800using PictureBox pictureBox = new() 1823using PictureBox pictureBox = new() 1847using PictureBox pictureBox = new(); 1855using PictureBox pictureBox = new(); 1909using PictureBox pictureBox = new(); 1927using PictureBox pictureBox = new() 1945using PictureBox pictureBox = new(); 1984using PictureBox pictureBox = new() 2007using PictureBox pictureBox = new() 2040using PictureBox pictureBox = new() 2074using PictureBox pictureBox = new() 2096using PictureBox pictureBox = new() 2116using PictureBox pictureBox = new() 2128using PictureBox pictureBox = new() 2834using PictureBox control = new();
System.Windows.Forms.UI.IntegrationTests (1)
DragDropTests.cs (1)
896public PictureBox PictureBoxDragSource;
WinFormsControlsTest (12)
DragDrop.cs (6)
23private readonly List<PictureBox> _pictureBoxList; 107if (sender is not PictureBox pictureBox || e.Data is null) 157if (sender is PictureBox pictureBox && e.Data is not null) 176if (sender is PictureBox pictureBox) 357private void LoadCat(PictureBox pictureBox, Bitmap image) 362private void LoadCats(PictureBox pictureBox, string[] bitmapFiles)
DragDrop.Designer.cs (5)
217private System.Windows.Forms.PictureBox pictureBox1; 218private System.Windows.Forms.PictureBox pictureBox2; 219private System.Windows.Forms.PictureBox pictureBox3; 220private System.Windows.Forms.PictureBox pictureBox4; 221private System.Windows.Forms.PictureBox pictureBox5;
PictureBoxes.Designer.cs (1)
98private System.Windows.Forms.PictureBox pictureBox1;