阴影在文本框的文本文本框、阴影、文本

2023-09-06 15:18:23 作者:最后岁月酿成伤i

我有文本框 TextBox.BackColor =透明;

我需要做的例子,但在WinForms的how添加dropshadoweffect到一个文本框的只是文本(编程)

I need to do for example but in WinForms how to add dropshadoweffect to just the text of a textbox (programmatically)

推荐答案

您不能设置文本框的背景色透明直接。 请参阅随附的URL来完成你的任务: 在文本框 C#的透明度

You can't set the background color 'Transparent' in textbox directly. Please refer the enclosed the URL to accomplish your task : C# transparency on textbox