示例#1
0
        private void CreateButtonRegion()
        {
            SkinEngine.UseNameSpace = this.GetType().Namespace.Replace(".Buttons", "");
            // Use default Magenta, instead of TopLeft(0,0) pixel color
            SkinEngine.UseTransparencyColorTopLeft = true; // false;
            // Create the button region
            Button btn = ((Button)this);

            SkinEngine.CreateButtonRegion(btn);
        }