给绘制加个样式
![](https://i-blog.csdnimg.cn/blog_migrate/8f900a89c6347c561fdf2122f13be562.gif)
![ExpandedBlockStart.gif](https://i-blog.csdnimg.cn/blog_migrate/961ddebeb323a10fe0623af514929fc1.gif)
protected
override
CreateParams CreateParams
{
get
{
CreateParams cp = base .CreateParams;
// WS_EX_TRANSPARENT
cp.ExStyle |= 0x00000020 ;
return cp;
}
}
{
get
{
CreateParams cp = base .CreateParams;
// WS_EX_TRANSPARENT
cp.ExStyle |= 0x00000020 ;
return cp;
}
}