首页 > 代码库 > 神码来袭,窗口再也不闪烁!

神码来袭,窗口再也不闪烁!

将下面的代码放到你的窗口中即可,哈哈!       

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