发布网友
共1个回答
热心网友
//写在构造函数里比较好
public Form1()
{
InitializeComponent();
this.textBox1.Leave += (s, e) =>
{
MessageBox.Show("失去了焦点!");
};
}