private void ButtonCancel_Click(object sender, EventArgs e) { ListBox1.ClearSelected(); CLearFields(); ButtonAdd.Show(); ButtonCLear.Show(); ButtonSave.Hide(); ButtonDell.Hide(); ButtonCancel.Hide(); }
private void Button2_Click(object sender, EventArgs e) { ListBox1.ClearSelected(); //清除選取項目 }