I have this transparent textbox:
public partial class TransparentTextBox : TextBox
{
public TransparentTextBox()
{
InitializeComponent();
SetStyle(ControlStyles.SupportsTransparentBackColor |
ControlStyles.OptimizedDoubleBuffer |
ControlStyles.AllPaintingInWmPaint |
ControlStyles.ResizeRedraw |
ControlStyles.UserPaint, true);
BackColor = Color.FromArgb(70, Color.Black);
}
}
And when I try to type in it it appears a white block on it and I don't want this to happen..