C#WinForm中支持透明的TextBox控件

WinForm 的 TextBox不支持透明背景色,设置背景色透明会报错:“控件不支持透明的背景色”。 this.textBox1.BackColor = Color.Transparent; 解决方法一:(测试可用)ide public class TransTextBox : RichTextBox { [DllImport("kernel32.dll", CharSet = Char
相关文章
相关标签/搜索