WindowlessControls.PlatformBitmap.PlatformBitmap C# (CSharp) Méthode

PlatformBitmap() static private méthode

static private PlatformBitmap ( ) : System
Résultat System
        static PlatformBitmap()
        {
            if (Environment.OSVersion.Platform == PlatformID.WinCE)
            {
                TransparentColor = Color.FromArgb(100, 100, 100);
                TransparentBrush = new SolidBrush(TransparentColor);
                TransparentImageAttributes.SetColorKey(TransparentColor, TransparentColor);
            }
        }