Changeset 7929
- Timestamp:
- 05/29/12 23:11:44 (13 years ago)
- Location:
- branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/Administration/Views
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/Administration/Views/AlgorithmView.cs
r7427 r7929 63 63 64 64 platformComboBox.SelectedValueChanged -= new EventHandler(platformComboBox_SelectedValueChanged); 65 platformComboBoxValues = AdministrationClient.Instance.Platforms.ToList(); 65 if (AdministrationClient.Instance.Platforms != null) 66 platformComboBoxValues = AdministrationClient.Instance.Platforms.ToList(); 66 67 platformComboBox.DataSource = platformComboBoxValues; 67 68 platformComboBox.SelectedValueChanged += new EventHandler(platformComboBox_SelectedValueChanged); 68 69 69 70 algorithmClassComboBox.SelectedValueChanged -= new EventHandler(algorithmClassComboBox_SelectedValueChanged); 70 algorithmClassComboBoxValues = AdministrationClient.Instance.AlgorithmClasses.ToList(); 71 if (AdministrationClient.Instance.AlgorithmClasses != null) 72 algorithmClassComboBoxValues = AdministrationClient.Instance.AlgorithmClasses.ToList(); 71 73 algorithmClassComboBox.DataSource = algorithmClassComboBoxValues; 72 74 algorithmClassComboBox.SelectedValueChanged += new EventHandler(algorithmClassComboBox_SelectedValueChanged); -
branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/Administration/Views/ProblemView.cs
r7427 r7929 63 63 64 64 platformComboBox.SelectedValueChanged -= new EventHandler(platformComboBox_SelectedValueChanged); 65 platformComboBoxValues = AdministrationClient.Instance.Platforms.ToList(); 65 if (AdministrationClient.Instance.Platforms != null) 66 platformComboBoxValues = AdministrationClient.Instance.Platforms.ToList(); 66 67 platformComboBox.DataSource = platformComboBoxValues; 67 68 platformComboBox.SelectedValueChanged += new EventHandler(platformComboBox_SelectedValueChanged); 68 69 69 70 problemClassComboBox.SelectedValueChanged -= new EventHandler(problemClassComboBox_SelectedValueChanged); 70 problemClassComboBoxValues = AdministrationClient.Instance.ProblemClasses.ToList(); 71 if (AdministrationClient.Instance.ProblemClasses != null) 72 problemClassComboBoxValues = AdministrationClient.Instance.ProblemClasses.ToList(); 71 73 problemClassComboBox.DataSource = problemClassComboBoxValues; 72 74 problemClassComboBox.SelectedValueChanged += new EventHandler(problemClassComboBox_SelectedValueChanged);
Note: See TracChangeset
for help on using the changeset viewer.