3 writes to nativeImageList
System.Windows.Forms (3)
winforms\Managed\System\WinForms\ImageList.cs (3)
312
this.
nativeImageList
= new NativeImageList(SafeNativeMethods.ImageList_Duplicate(new HandleRef(himl, himl.Handle)));
544
nativeImageList
= new NativeImageList(SafeNativeMethods.ImageList_Create(imageSize.Width, imageSize.Height, flags, INITIAL_CAPACITY, GROWBY));
578
nativeImageList
= null;
8 references to nativeImageList
System.Windows.Forms (8)
winforms\Managed\System\WinForms\ImageList.cs (8)
206
if (
nativeImageList
== null) {
209
return
nativeImageList
.Handle;
223
get { return
nativeImageList
!= null; }
308
if (himl != null && himl != this.
nativeImageList
) {
314
if(SafeNativeMethods.ImageList_GetIconSize(new HandleRef(this, this.
nativeImageList
.Handle), out x, out y)) {
319
if(SafeNativeMethods.ImageList_GetImageInfo(new HandleRef(this, this.
nativeImageList
.Handle), 0, imageInfo)) {
514
Debug.Assert(
nativeImageList
== null, "Handle already created, this may be a source of temporary GDI leaks");
577
nativeImageList
.Dispose();