【发布时间】:2011-02-07 04:37:43
【问题描述】:
我知道在 vb.net 你可以做Exit Sub
但我想知道如何退出按钮中的点击事件?
这是我的代码:
private void button1_Click(object sender, EventArgs e)
{
if (textBox1.Text == "" || textBox2.Text == "" || textBox3.Text == "")
{
//exit this event
}
}
【问题讨论】: