C#窗体阴影

        /// <summary>  
        /// 边框阴影  
        /// </summary>  
        protected override CreateParams CreateParams
        {
            get
            {
                CreateParams createParams = base.CreateParams;
                createParams.ClassStyle |= 0x00020000;
                return createParams;
            }
        }  

 

posted @ 2014-06-19 11:51  Micmacs  阅读(318)  评论(0编辑  收藏  举报