c#设置button透明
c#设置button透明
1、使用代码进行设置:
this.button_welcom_login.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.button_welcom_login.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent; this.button_welcom_login.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;//设置透明
2、在属性栏设置,如下图:
用自己所知道的去帮助他人,就像别人当初帮助自己一样!