Changeset 4317 for branches/VRP/HeuristicLab.Problems.VehicleRouting.Views/3.3/VehicleRoutingProblemView.cs
- Timestamp:
- 08/25/10 16:29:06 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/VRP/HeuristicLab.Problems.VehicleRouting.Views/3.3/VehicleRoutingProblemView.cs
r4315 r4317 64 64 parameterCollectionView.Enabled = Content != null; 65 65 vrpSolutionView.Enabled = Content != null; 66 importButton.Enabled = importButton2.Enabled = Content != null && !ReadOnly;66 importButton.Enabled = importButton2.Enabled = importButton3.Enabled = Content != null && !ReadOnly; 67 67 } 68 68 … … 78 78 private void importButton2_Click(object sender, EventArgs e) { 79 79 OpenFileDialog dialog = new OpenFileDialog(); 80 dialog. DefaultExt= "TSPLib files (*.vrp)|*.vrp";80 dialog.Filter = "TSPLib files (*.vrp)|*.vrp"; 81 81 82 82 if (dialog.ShowDialog() == DialogResult.OK) { … … 87 87 private void importButton3_Click(object sender, EventArgs e) { 88 88 OpenFileDialog dialog = new OpenFileDialog(); 89 dialog. DefaultExt= "ORLib files (*.txt)|*.txt";89 dialog.Filter = "ORLib files (*.txt)|*.txt"; 90 90 91 91 if (dialog.ShowDialog() == DialogResult.OK) {
Note: See TracChangeset
for help on using the changeset viewer.