//protected override CreateParams CreateParams
        //{
        //    get
        //    {
        //        CreateParams cp = base.CreateParams;
        //        cp.ExStyle |= 0x80000;
        //        return base.CreateParams;
        //    }
        //}

        public TransparentForm()
        {
            InitializeComponent();

            if (Environment.OSVersion.Version.Major >= 6 && !this.DesignMode)
            {
                this.isBlurEnabled = ApiVista.IsCompositionEnable();
            }
        }
        protected override void OnLoad(EventArgs e)
        {
            base.OnLoad(e);

            if (isBlurEnabled)
            {
                this.BackColor = Color.Black;
                //this.TransparencyKey = Color.FromArgb(200, 201, 202);
                //this.BackColor = Color.FromArgb(200, 201, 202);
                switch (this.blurMode)
                {
                default:
                case BlurMode.ExtendFrameIntoClientArea:
                    ApiVista.ExtendFrameIntoClientArea(this, ref this.margin);
                    break;

                case BlurMode.BlurBehindWindow:
                    ApiVista.EnableBlurBehindWindow(this);
                    break;
                }
            }
        }