Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/04/17 17:19:35 (7 years ago)
Author:
gkronber
Message:

#2520: changed all usages of StorableClass to use StorableType with an auto-generated GUID (did not add StorableType to other type definitions yet)

Location:
branches/PersistenceReintegration/HeuristicLab.Optimizer/3.3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/PersistenceReintegration/HeuristicLab.Optimizer/3.3/CreateExperimentDialog.cs

    r14185 r14927  
    340340          selectAllCheckBox.Checked = treeViewNodes.Count() == instances.SelectMany(x => x.Value).Count();
    341341          selectNoneCheckBox.Checked = !treeViewNodes.Any(x => x.Checked);
    342         }
    343         finally { suppressCheckAllNoneEventHandling = false; }
     342        } finally { suppressCheckAllNoneEventHandling = false; }
    344343        UpdateVariationsLabel();
    345344      }
     
    355354          }
    356355        }
    357       }
    358       finally { suppressTreeViewEventHandling = false; }
     356      } finally { suppressTreeViewEventHandling = false; }
    359357    }
    360358
     
    378376        try {
    379377          node.Parent.Checked = allChecked;
    380         }
    381         finally { suppressTreeViewEventHandling = false; }
     378        } finally { suppressTreeViewEventHandling = false; }
    382379      }
    383380    }
     
    387384        if (selectAllCheckBox.Checked) {
    388385          suppressCheckAllNoneEventHandling = true;
    389           try { selectNoneCheckBox.Checked = false; }
    390           finally { suppressCheckAllNoneEventHandling = false; }
     386          try { selectNoneCheckBox.Checked = false; } finally { suppressCheckAllNoneEventHandling = false; }
    391387          try {
    392388            suppressTreeViewEventHandling = true;
     
    397393              }
    398394            }
    399           }
    400           finally { suppressTreeViewEventHandling = false; }
     395          } finally { suppressTreeViewEventHandling = false; }
    401396        }
    402397        UpdateVariationsLabel();
     
    408403        if (selectNoneCheckBox.Checked) {
    409404          suppressCheckAllNoneEventHandling = true;
    410           try { selectAllCheckBox.Checked = false; }
    411           finally { suppressCheckAllNoneEventHandling = false; }
     405          try { selectAllCheckBox.Checked = false; } finally { suppressCheckAllNoneEventHandling = false; }
    412406          try {
    413407            suppressTreeViewEventHandling = true;
     
    418412              }
    419413            }
    420           }
    421           finally { suppressTreeViewEventHandling = false; }
     414          } finally { suppressTreeViewEventHandling = false; }
    422415        }
    423416        UpdateVariationsLabel();
     
    752745        }
    753746        selectNoneCheckBox.Checked = true;
    754       }
    755       catch { }
     747      } catch { }
    756748      try {
    757749        SetMode(DialogMode.Normal);
    758750        if (e.Error != null) MessageBox.Show(e.Error.Message, "Error occurred", MessageBoxButtons.OK, MessageBoxIcon.Error);
    759       }
    760       catch { }
     751      } catch { }
    761752    }
    762753    #endregion
     
    772763        try {
    773764          AddParameterVariations(Optimizer, localExperiment, ref counter, totalVariations);
    774         }
    775         catch (OperationCanceledException) {
     765        } catch (OperationCanceledException) {
    776766          e.Cancel = true;
    777767          return;
     
    785775            try {
    786776              ProblemInstanceManager.LoadData(provider, descriptor, (IProblemInstanceConsumer)algorithm.Problem);
    787             }
    788             catch (Exception ex) {
     777            } catch (Exception ex) {
    789778              failedInstances.AppendLine(descriptor.Name + ": " + ex.Message);
    790779              failed = true;
     
    799788                  AddParameterVariations(algorithm, localExperiment, ref counter, totalVariations);
    800789                }
    801               }
    802               catch (OperationCanceledException) {
     790              } catch (OperationCanceledException) {
    803791                e.Cancel = true;
    804792                return;
     
    951939          Close();
    952940        }
    953       }
    954       catch { }
     941      } catch { }
    955942    }
    956943    #endregion
  • branches/PersistenceReintegration/HeuristicLab.Optimizer/3.3/HeuristicLab.Optimizer-3.3.csproj

    r14926 r14927  
    304304      <Private>False</Private>
    305305    </ProjectReference>
     306    <ProjectReference Include="..\..\HeuristicLab.Persistence\3.3\HeuristicLab.Persistence-3.3.csproj">
     307      <Project>{102BC7D3-0EF9-439C-8F6D-96FF0FDB8E1B}</Project>
     308      <Name>HeuristicLab.Persistence-3.3</Name>
     309    </ProjectReference>
    306310    <ProjectReference Include="..\..\HeuristicLab.Persistence\4.0\HeuristicLab.Persistence-4.0.csproj">
    307311      <Project>{b1663091-8156-4deb-9e37-5b19810a4644}</Project>
Note: See TracChangeset for help on using the changeset viewer.