设置form窗体背景透明

原文地址:https://stackoverflow.com/questions/4387680/transparent-background-on-winforms

this.BackColor = Color.LimeGreen;
this.TransparencyKey = Color.LimeGreen;
protected override void OnPaintBackground(PaintEventArgs e)
{
    //empty implementation
}
posted @ 2020-05-21 09:22  HI,D  阅读(1397)  评论(0编辑  收藏  举报