private void btnDelete_Click(object sender, EventArgs e) { if (ListActive == 1) { List1.Delete(); } else { List2.Delete(); } }