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