Exemple #1
0
 /// <summary>Initializes a new instance of the <see cref="INITCOMMONCONTROLSEX"/> class and sets the dwICC field.</summary>
 /// <param name="ccc">The <see cref="CommonControlClass"/> value to assign to the dwICC field.</param>
 public INITCOMMONCONTROLSEX(CommonControlClass ccc)
 {
     dwICC  = ccc;
     dwSize = Marshal.SizeOf(typeof(INITCOMMONCONTROLSEX));
 }
Exemple #2
0
        public static bool InitCommonControlsEx(CommonControlClass ccc)
        {
            var icc = new INITCOMMONCONTROLSEX(ccc);

            return(InitCommonControlsEx(ref icc));
        }