コード例 #1
0
ファイル: TaskbarList.cs プロジェクト: wushian/Vanara
 /// <summary>Specifies an image list that contains button images for a toolbar embedded in a thumbnail image of a window in a taskbar button flyout.</summary>
 /// <param name="parent">The window whose thumbnail representation contains the toolbar to be updated. This window must belong to the calling process.</param>
 /// <param name="imageList">The image list that contains all button images to be used in the toolbar.</param>
 public static void ThumbBarSetImageList(IWin32Window parent, ImageList imageList)
 {
     Validate7OrLater();
     if (parent == null)
     {
         throw new ArgumentNullException(nameof(parent));
     }
     if (imageList == null)
     {
         throw new ArgumentNullException(nameof(imageList));
     }
     taskbar4?.ThumbBarSetImageList(parent.Handle, imageList.Handle);
 }