Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/25/10 16:29:06 (14 years ago)
Author:
svonolfe
Message:

Improved the parsers (#1039)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/VRP/HeuristicLab.Problems.VehicleRouting.Views/3.3/VehicleRoutingProblemView.cs

    r4315 r4317  
    6464      parameterCollectionView.Enabled = Content != null;
    6565      vrpSolutionView.Enabled = Content != null;
    66       importButton.Enabled = importButton2.Enabled = Content != null && !ReadOnly;
     66      importButton.Enabled = importButton2.Enabled = importButton3.Enabled = Content != null && !ReadOnly;
    6767    }
    6868
     
    7878    private void importButton2_Click(object sender, EventArgs e) {
    7979      OpenFileDialog dialog = new OpenFileDialog();
    80       dialog.DefaultExt = "TSPLib files (*.vrp)|*.vrp";
     80      dialog.Filter = "TSPLib files (*.vrp)|*.vrp";
    8181
    8282      if (dialog.ShowDialog() == DialogResult.OK) {
     
    8787    private void importButton3_Click(object sender, EventArgs e) {
    8888      OpenFileDialog dialog = new OpenFileDialog();
    89       dialog.DefaultExt = "ORLib files (*.txt)|*.txt";
     89      dialog.Filter = "ORLib files (*.txt)|*.txt";
    9090
    9191      if (dialog.ShowDialog() == DialogResult.OK) {
Note: See TracChangeset for help on using the changeset viewer.