本文介绍了我有一个问题,以mdi形式将backColor控件更改为Transparent的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

而且,为什么我不能改变Mdi表格的backcolor属性?

帮我改变mdi表格的背面颜色为Transparent

and also,why i can not change backcolor Attribute of Mdi form?
help me to change the back color of mdi form to Transparent

推荐答案

private void Form1_Load(object sender, EventArgs e)
   {  this.SetStyle(System.Windows.Forms.ControlStyles.SupportsTransparentBackColor, true);
     this.BackColor = System.Drawing.Color.Transparent;
   }


这篇关于我有一个问题,以mdi形式将backColor控件更改为Transparent的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

11-03 15:01