Exemple #1
0
 private void FManageProfiles_Load(object sender, EventArgs e)
 {
     lvProfiles.LargeImageList = ilProfileIcons.IconsList;
     btnEdit.Enabled           = false;
     btnDelete.Enabled         = false;
     this.profiles             = CSettings.LoadProfiles();
     loadList();
 }
Exemple #2
0
 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);
     }
 }