111,126
社区成员
发帖
与我相关
我的任务
分享
protected override void OnFormClosing(FormClosingEventArgs e)
{
foreach (Control c in this.Controls)
{
if (c is TextBox)
{
if (((TextBox)c).Text != String.Empty)
{
MessageBox.Show("you changed value");
}
}
}
base.OnFormClosing(e);
}