1 write to imageList
System.Windows.Forms (1)
winforms\Managed\System\WinForms\PropertyGrid.cs (1)
2228
imageList
= null;
30 references to imageList
System.Windows.Forms (30)
winforms\Managed\System\WinForms\PropertyGrid.cs (30)
1522
if (this.
imageList
!= null && this.
imageList
[LARGE_BUTTONS] != null) {
1523
toolStrip.ImageScalingSize = this.
imageList
[LARGE_BUTTONS].ImageSize;
1527
if (this.
imageList
!= null && this.
imageList
[NORMAL_BUTTONS] != null) {
1528
toolStrip.ImageScalingSize = this.
imageList
[NORMAL_BUTTONS].ImageSize;
1532
toolStrip.ImageList =
imageList
[this.buttonType];
1657
int result =
imageList
[NORMAL_BUTTONS].Images.Count;
1658
imageList
[NORMAL_BUTTONS].Images.Add(image);
2222
if (
imageList
!= null) {
2223
for (int i = 0; i <
imageList
.Length; i++) {
2224
if(
imageList
[i] != null) {
2225
imageList
[i].Dispose();
2444
if (this.
imageList
[LARGE_BUTTONS] == null) {
2446
this.
imageList
[LARGE_BUTTONS] = new ImageList();
2447
this.
imageList
[LARGE_BUTTONS].ImageSize = largeButtonSize;
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);
4023
if (
imageList
[LARGE_BUTTONS] != null) {
4024
imageList
[LARGE_BUTTONS].Images.RemoveAt(index);
4374
if (
imageList
[NORMAL_BUTTONS] == null || fullRebuild) {
4375
imageList
[NORMAL_BUTTONS] = new ImageList();
4377
imageList
[NORMAL_BUTTONS].ImageSize = normalButtonSize;
4447
items =
imageList
[NORMAL_BUTTONS].Images.Count;
4501
if (
imageList
[LARGE_BUTTONS] != null) {
4502
imageList
[LARGE_BUTTONS].Dispose();
4503
imageList
[LARGE_BUTTONS] = null;
4510
toolStrip.ImageList =
imageList
[this.buttonType];