C# winform TextBox控件
一、常用属性
1、Text
2、Multiline:设定文本框是否多行
3、Passwordchar:密文 一般输入 *
4、ReadyOnly:只读
二、常用事件
1、TextChanged:文本矿内容发生变化
2、Enter:文本框获得焦点
3、Leave:文本框失去焦点
三、常用方法
1、Clear 清空文本框
this.textBox1.Clear();
2、AppendText 追加文本
this.textBox1.AppendText("cc");