111,092
社区成员




public partial class UserControl1 : UserControl
{
//...
public event EventHandler TextChanged
{
add { this.textBox1.TextChanged += value; }
remove { this.textBox1.TextChanged -= value; }
}
public event EventHandler ButtonClicked
{
add { this.button1.Click += value; }
remove { this.button1.Click -= value; }
}
}