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