设置透明窗体

//仅一行就可以

this.TransparencyKey = BackColor;

原文地址:https://www.cnblogs.com/dachuang/p/5340616.html