public partial class PreTextBox : TextBox
{
public PreTextBox()
{
InitializeComponent();
Text = PreText;
ForeColor = Color.Gray;
}
public string PreText
{
set;
get;
}
텍스트가 PreText에서 설정되지 않습니까?TextBox 도움말의 사용자 정의 컨트롤?
확실하지 않음 . – NinethSense