c# TextBox只显示下画线
TextBox只显示下画线
1、自定义控件中加一个TextBox,一个Label。
public UserTextBox() { InitializeComponent(); } [Browsable(true)] public new string Text { get { return tbx1.Text; } set { tbx1.Text = value; } }
TextBox只显示下画线
1、自定义控件中加一个TextBox,一个Label。
public UserTextBox() { InitializeComponent(); } [Browsable(true)] public new string Text { get { return tbx1.Text; } set { tbx1.Text = value; } }