private void FManageProfiles_Load(object sender, EventArgs e) { lvProfiles.LargeImageList = ilProfileIcons.IconsList; btnEdit.Enabled = false; btnDelete.Enabled = false; this.profiles = CSettings.LoadProfiles(); loadList(); }
private void FChooseProfile_Load(object sender, EventArgs e) { lvProfiles.LargeImageList = ilProfileIcons.IconsList; settings = CSettings.LoadProfiles(); foreach (CScanSettings profile in settings) { lvProfiles.Items.Add(profile.DisplayName, profile.IconID); } }