1 type derived from PictureBox
System.Windows.Forms.Tests (1)
System\Windows\Forms\PictureBoxTests.cs (1)
2840private class SubPictureBox : PictureBox
117 instantiations of 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)
13using PictureBox pictureBox = new() { SizeMode = PictureBoxSizeMode.StretchImage }; 24using PictureBox pictureBox = new(); 38using PictureBox pictureBox = new();
System\Windows\Forms\Design\PictureBoxDesignerTests.cs (2)
22using PictureBox pictureBox = new(); 38using PictureBox pictureBox = new();
System.Windows.Forms.Tests (93)
System\Windows\Forms\AccessibleObjects\PictureBox.PictureBoxAccessibleObjectTests.cs (8)
22using PictureBox pictureBox = new(); 33using PictureBox pictureBox = new() 48using PictureBox pictureBox = new() 63using PictureBox pictureBox = new() 80using PictureBox pictureBox = new(); 99using PictureBox pictureBox = new() 115using PictureBox pictureBox = new(); 142using PictureBox pictureBox = new();
System\Windows\Forms\BinaryFormat\WinFormsBinaryFormattedObjectTests.cs (1)
293{ new PictureBox(), new string[] { "DataContext: Object", "Tag: Object" } },
System\Windows\Forms\PictureBoxTests.cs (84)
145using PictureBox pictureBox = new() 160using PictureBox pictureBox = new(); 175using PictureBox pictureBox = new(); 183using PictureBox control = new() 201using PictureBox control = new() 316using PictureBox pictureBox = new() 333using PictureBox pictureBox = new() 352using PictureBox pictureBox = new(); 369using PictureBox pictureBox = new() 390using PictureBox pictureBox = new(); 407using PictureBox pictureBox = new(); 423using PictureBox control = new() 437using PictureBox control = new(); 491using PictureBox control = new(); 534using PictureBox pictureBox = new() 549using PictureBox pictureBox = new() 566using PictureBox pictureBox = new(); 581using PictureBox pictureBox = new() 600using PictureBox pictureBox = new(); 617using PictureBox pictureBox = new(); 633using PictureBox pictureBox = new() 653using PictureBox pictureBox = new() 671using PictureBox pictureBox = new(); 687using PictureBox pictureBox = new() 719using PictureBox pictureBox = new() 744using PictureBox pictureBox = new() 770using PictureBox pictureBox = new() 790using PictureBox pictureBox = new() 827using PictureBox pictureBox = new() 861using PictureBox pictureBox = new() 886using PictureBox pictureBox = new() 924using PictureBox control = new() 941using PictureBox control = new(); 969using PictureBox control = new(); 1005using PictureBox control = new(); 1013using PictureBox pictureBox = new() 1030using PictureBox pictureBox = new() 1049using PictureBox pictureBox = new(); 1066using PictureBox pictureBox = new() 1087using PictureBox pictureBox = new(); 1104using PictureBox pictureBox = new(); 1127using PictureBox control = new() 1143using PictureBox control = new() 1162using PictureBox control = new() 1179using PictureBox control = new(); 1214using PictureBox control = new(); 1223using PictureBox control = new() 1239using PictureBox control = new(); 1275using PictureBox control = new(); 1329using PictureBox pictureBox = new() 1351using PictureBox pictureBox = new() 1390using PictureBox pictureBox = new(); 1400using PictureBox control = new() 1416using PictureBox control = new() 1454using PictureBox control = new(); 1462using PictureBox control = new() 1484using PictureBox control = new(); 1518using PictureBox control = new() 1557using PictureBox control = new() 1574using PictureBox control = new(); 1602using PictureBox control = new(); 1638using PictureBox control = new() 1657using PictureBox control = new(); 1675using PictureBox control = new() 1714using PictureBox pictureBox = new() 1732using PictureBox pictureBox = new(); 1741using PictureBox pictureBox = new() 1761using PictureBox pictureBox = new() 1780using PictureBox pictureBox = new() 1802using PictureBox pictureBox = new() 1825using PictureBox pictureBox = new() 1849using PictureBox pictureBox = new(); 1857using PictureBox pictureBox = new(); 1911using PictureBox pictureBox = new(); 1929using PictureBox pictureBox = new() 1947using PictureBox pictureBox = new(); 1986using PictureBox pictureBox = new() 2009using PictureBox pictureBox = new() 2042using PictureBox pictureBox = new() 2076using PictureBox pictureBox = new() 2098using PictureBox pictureBox = new() 2118using PictureBox pictureBox = new() 2130using PictureBox pictureBox = new() 2836using PictureBox control = new();
System.Windows.Forms.UI.IntegrationTests (1)
DragDropTests.cs (1)
962PictureBoxDragSource = new PictureBox();
TestPassApp (1)
CommonControl2.Designer.cs (1)
46this.pictureBox1 = new System.Windows.Forms.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
DesignSurface (2)
MainForm.cs (2)
165PictureBox 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)
240t_defaultErrorImageForThread ??= ScaleHelper.GetIconResourceAsDefaultSizeBitmap(typeof(PictureBox), "ImageInError"); 295/// Retrieves the Image that the <see cref="PictureBox"/> is currently displaying. 399t_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)
13using PictureBox pictureBox = new() { SizeMode = PictureBoxSizeMode.StretchImage }; 24using PictureBox pictureBox = new(); 38using PictureBox pictureBox = new();
System\Windows\Forms\Design\PictureBoxDesignerTests.cs (2)
22using PictureBox pictureBox = new(); 38using PictureBox pictureBox = new();
System.Windows.Forms.Tests (112)
System\Windows\Forms\AccessibleObjects\PictureBox.PictureBoxAccessibleObjectTests.cs (16)
16Assert.Throws<ArgumentNullException>("ownerControl", () => new PictureBox.PictureBoxAccessibleObject(null)); 22using PictureBox pictureBox = new(); 24var pictureBoxAccessibleObject = new PictureBox.PictureBoxAccessibleObject(pictureBox); 33using PictureBox pictureBox = new() 39var pictureBoxAccessibleObject = new PictureBox.PictureBoxAccessibleObject(pictureBox); 48using PictureBox pictureBox = new() 54var pictureBoxAccessibleObject = new PictureBox.PictureBoxAccessibleObject(pictureBox); 63using PictureBox pictureBox = new() 69var pictureBoxAccessibleObject = new PictureBox.PictureBoxAccessibleObject(pictureBox); 80using PictureBox pictureBox = new(); 87var pictureBoxAccessibleObject = new PictureBox.PictureBoxAccessibleObject(pictureBox); 99using PictureBox pictureBox = new() 105PictureBox.PictureBoxAccessibleObject pictureBoxAccessibleObject = new(pictureBox); 115using PictureBox pictureBox = new(); 117var pictureBoxAccessibleObject = new PictureBox.PictureBoxAccessibleObject(pictureBox); 142using PictureBox pictureBox = new();
System\Windows\Forms\PictureBoxTests.cs (96)
145using PictureBox pictureBox = new() 160using PictureBox pictureBox = new(); 175using PictureBox pictureBox = new(); 183using PictureBox control = new() 201using PictureBox control = new() 316using PictureBox pictureBox = new() 333using PictureBox pictureBox = new() 352using PictureBox pictureBox = new(); 369using PictureBox pictureBox = new() 389PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(PictureBox))[nameof(PictureBox.ErrorImage)]; 390using PictureBox pictureBox = new(); 406PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(PictureBox))[nameof(PictureBox.ErrorImage)]; 407using PictureBox pictureBox = new(); 423using PictureBox control = new() 437using PictureBox control = new(); 491using PictureBox control = new(); 534using PictureBox pictureBox = new() 549using PictureBox pictureBox = new() 566using PictureBox pictureBox = new(); 581using PictureBox pictureBox = new() 599PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(PictureBox))[nameof(PictureBox.Image)]; 600using PictureBox pictureBox = new(); 616PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(PictureBox))[nameof(PictureBox.Image)]; 617using PictureBox pictureBox = new(); 633using PictureBox pictureBox = new() 653using PictureBox pictureBox = new() 671using PictureBox pictureBox = new(); 687using PictureBox pictureBox = new() 719using PictureBox pictureBox = new() 744using PictureBox pictureBox = new() 770using PictureBox pictureBox = new() 790using PictureBox pictureBox = new() 827using PictureBox pictureBox = new() 861using PictureBox pictureBox = new() 886using PictureBox pictureBox = new() 924using PictureBox control = new() 941using PictureBox control = new(); 969using PictureBox control = new(); 1005using PictureBox control = new(); 1013using PictureBox pictureBox = new() 1030using PictureBox pictureBox = new() 1049using PictureBox pictureBox = new(); 1066using PictureBox pictureBox = new() 1086PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(PictureBox))[nameof(PictureBox.InitialImage)]; 1087using PictureBox pictureBox = new(); 1103PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(PictureBox))[nameof(PictureBox.InitialImage)]; 1104using PictureBox pictureBox = new(); 1127using PictureBox control = new() 1143using PictureBox control = new() 1162using PictureBox control = new() 1179using PictureBox control = new(); 1214using PictureBox control = new(); 1223using PictureBox control = new() 1239using PictureBox control = new(); 1275using PictureBox control = new(); 1329using PictureBox pictureBox = new() 1351using PictureBox pictureBox = new() 1390using PictureBox pictureBox = new(); 1400using PictureBox control = new() 1416using PictureBox control = new() 1454using PictureBox control = new(); 1462using PictureBox control = new() 1484using PictureBox control = new(); 1518using PictureBox control = new() 1557using PictureBox control = new() 1574using PictureBox control = new(); 1602using PictureBox control = new(); 1638using PictureBox control = new() 1657using PictureBox control = new(); 1675using PictureBox control = new() 1714using PictureBox pictureBox = new() 1732using PictureBox pictureBox = new(); 1741using PictureBox pictureBox = new() 1761using PictureBox pictureBox = new() 1780using PictureBox pictureBox = new() 1802using PictureBox pictureBox = new() 1825using PictureBox pictureBox = new() 1849using PictureBox pictureBox = new(); 1857using PictureBox pictureBox = new(); 1911using PictureBox pictureBox = new(); 1929using PictureBox pictureBox = new() 1947using PictureBox pictureBox = new(); 1986using PictureBox pictureBox = new() 2009using PictureBox pictureBox = new() 2042using PictureBox pictureBox = new() 2076using PictureBox pictureBox = new() 2098using PictureBox pictureBox = new() 2118using PictureBox pictureBox = new() 2130using PictureBox pictureBox = new() 2836using PictureBox control = new();
System.Windows.Forms.UI.IntegrationTests (1)
DragDropTests.cs (1)
955public PictureBox PictureBoxDragSource;
TestPassApp (1)
CommonControl2.Designer.cs (1)
292private System.Windows.Forms.PictureBox pictureBox1;
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;