比如编写 控件a的TextChanged事件
e.Form.Controls("TextBox2").Visible = (e.sender.Text = "")e.Form.Controls("TextBox3").Visible = (e.sender.Text = "")