private void RestoreLastBuildUsed() { // If the last used build is not null or a white space and the item exists if (!string.IsNullOrWhiteSpace(Properties.Settings.Default.LastBuild) && BuildList.FindStringExact(Properties.Settings.Default.LastBuild) != -1) { // Get the number of the index and set it as selected BuildList.SelectedIndex = BuildList.FindStringExact(Properties.Settings.Default.LastBuild); } }