Exemple #1
0
 /// <summary>Initializes a new instance of the <see cref="BUTTON_SPLITINFO"/> struct and sets the uSplitStyle value.</summary>
 /// <param name="buttonInfoStyle">The style.</param>
 public BUTTON_SPLITINFO(SplitButtonInfoStyle buttonInfoStyle) : this()
 {
     uSplitButtonInfoStyle = buttonInfoStyle; mask = SplitButtonInfoMask.BCSIF_STYLE;
 }
Exemple #2
0
 /// <summary>Initializes a new instance of the <see cref="BUTTON_SPLITINFO"/> struct and sets an ImageList</summary>
 /// <param name="hImageList">The h image list.</param>
 public BUTTON_SPLITINFO(HIMAGELIST hImageList) : this()
 {
     himlGlyph = hImageList; mask = SplitButtonInfoMask.BCSIF_IMAGE;
 }
 /// <summary>Initializes a new instance of the <see cref="BUTTON_SPLITINFO"/> struct and sets an ImageList</summary>
 /// <param name="hImageList">The h image list.</param>
 public BUTTON_SPLITINFO(HandleRef hImageList) : this()
 {
     himlGlyph = hImageList.Handle != IntPtr.Zero ? hImageList.Handle : IntPtr.Zero; mask = SplitButtonInfoMask.BCSIF_IMAGE;
 }