void PackageListSelectedIndexChanged() { var index = lstBoxPackages.SelectedIndex; var package = settings.GetPackageByIndex(index); ShowPackage(package); }