Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/20/12 17:26:56 (12 years ago)
Author:
sforsten
Message:

#1782:

  • HeuristicOptimizationView has been integrated in ProblemView and was deleted afterwards.
  • the icons for the load and the info button have been changed
  • QuadraticAssignmentProblem now also loads name and description of problem instance
  • A unused OpenFileDialog has been removed in QuadraticAssignmentProblemView
Location:
trunk/sources/HeuristicLab.Problems.TravelingSalesman.Views/3.3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.TravelingSalesman.Views/3.3/TravelingSalesmanProblemView.Designer.cs

    r7558 r7641  
    4545      this.visualizationTabPage = new System.Windows.Forms.TabPage();
    4646      this.pathTSPTourView = new HeuristicLab.Problems.TravelingSalesman.Views.PathTSPTourView();
     47      ((System.ComponentModel.ISupportInitialize)(this.problemInstanceSplitContainer)).BeginInit();
     48      this.problemInstanceSplitContainer.Panel1.SuspendLayout();
     49      this.problemInstanceSplitContainer.Panel2.SuspendLayout();
     50      this.problemInstanceSplitContainer.SuspendLayout();
    4751      ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).BeginInit();
    4852      this.tabControl.SuspendLayout();
     
    5155      this.SuspendLayout();
    5256      //
    53       // problemInstanceProviderViewHost
     57      // libraryInfoButton
    5458      //
    55       this.problemInstanceProviderViewHost.Size = new System.Drawing.Size(270, 21);
     59      this.libraryInfoButton.Location = new System.Drawing.Point(224, 1);
     60      //
     61      // problemInstanceSplitContainer
     62      //
     63      //
     64      // problemInstanceSplitContainer.Panel2
     65      //
     66      this.problemInstanceSplitContainer.Panel2.Controls.Add(this.tabControl);
    5667      //
    5768      // parameterCollectionView
     
    6071      this.parameterCollectionView.Dock = System.Windows.Forms.DockStyle.Fill;
    6172      this.parameterCollectionView.Location = new System.Drawing.Point(3, 3);
    62       this.parameterCollectionView.Size = new System.Drawing.Size(515, 332);
     73      this.parameterCollectionView.Size = new System.Drawing.Size(497, 274);
    6374      //
    6475      // nameTextBox
     
    6677      this.errorProvider.SetIconAlignment(this.nameTextBox, System.Windows.Forms.ErrorIconAlignment.MiddleLeft);
    6778      this.errorProvider.SetIconPadding(this.nameTextBox, 2);
    68       this.nameTextBox.Size = new System.Drawing.Size(454, 20);
    69       //
    70       // infoLabel
    71       //
    72       this.infoLabel.Location = new System.Drawing.Point(510, 35);
    7379      //
    7480      // tabControl
    7581      //
    7682      this.tabControl.AllowDrop = true;
    77       this.tabControl.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
    78             | System.Windows.Forms.AnchorStyles.Left)
    79             | System.Windows.Forms.AnchorStyles.Right)));
     83      this.tabControl.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     84                  | System.Windows.Forms.AnchorStyles.Left)
     85                  | System.Windows.Forms.AnchorStyles.Right)));
    8086      this.tabControl.Controls.Add(this.parametersTabPage);
    8187      this.tabControl.Controls.Add(this.visualizationTabPage);
    82       this.tabControl.Location = new System.Drawing.Point(0, 58);
     88      this.tabControl.Location = new System.Drawing.Point(0, 27);
    8389      this.tabControl.Name = "tabControl";
    8490      this.tabControl.SelectedIndex = 0;
    85       this.tabControl.Size = new System.Drawing.Size(529, 364);
     91      this.tabControl.Size = new System.Drawing.Size(511, 306);
    8692      this.tabControl.TabIndex = 4;
    8793      //
     
    9298      this.parametersTabPage.Name = "parametersTabPage";
    9399      this.parametersTabPage.Padding = new System.Windows.Forms.Padding(3);
    94       this.parametersTabPage.Size = new System.Drawing.Size(521, 338);
     100      this.parametersTabPage.Size = new System.Drawing.Size(503, 280);
    95101      this.parametersTabPage.TabIndex = 0;
    96102      this.parametersTabPage.Text = "Parameters";
     
    103109      this.visualizationTabPage.Name = "visualizationTabPage";
    104110      this.visualizationTabPage.Padding = new System.Windows.Forms.Padding(3);
    105       this.visualizationTabPage.Size = new System.Drawing.Size(521, 338);
     111      this.visualizationTabPage.Size = new System.Drawing.Size(503, 280);
    106112      this.visualizationTabPage.TabIndex = 1;
    107113      this.visualizationTabPage.Text = "Visualization";
     
    110116      // pathTSPTourView
    111117      //
    112       this.pathTSPTourView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
    113             | System.Windows.Forms.AnchorStyles.Left)
    114             | System.Windows.Forms.AnchorStyles.Right)));
     118      this.pathTSPTourView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     119                  | System.Windows.Forms.AnchorStyles.Left)
     120                  | System.Windows.Forms.AnchorStyles.Right)));
    115121      this.pathTSPTourView.Caption = "PathTSPTour View";
    116122      this.pathTSPTourView.Content = null;
     
    118124      this.pathTSPTourView.Name = "pathTSPTourView";
    119125      this.pathTSPTourView.ReadOnly = false;
    120       this.pathTSPTourView.Size = new System.Drawing.Size(509, 329);
     126      this.pathTSPTourView.Size = new System.Drawing.Size(491, 268);
    121127      this.pathTSPTourView.TabIndex = 0;
    122128      //
     
    125131      this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
    126132      this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
    127       this.Controls.Add(this.tabControl);
    128133      this.Name = "TravelingSalesmanProblemView";
    129       this.Size = new System.Drawing.Size(529, 422);
    130       this.Controls.SetChildIndex(this.libraryInfoButton, 0);
    131       this.Controls.SetChildIndex(this.libraryLabel, 0);
    132       this.Controls.SetChildIndex(this.problemInstanceProviderComboBox, 0);
    133       this.Controls.SetChildIndex(this.problemInstanceProviderViewHost, 0);
    134       this.Controls.SetChildIndex(this.infoLabel, 0);
    135       this.Controls.SetChildIndex(this.nameTextBox, 0);
    136       this.Controls.SetChildIndex(this.tabControl, 0);
    137       this.Controls.SetChildIndex(this.nameLabel, 0);
     134      this.problemInstanceSplitContainer.Panel1.ResumeLayout(false);
     135      this.problemInstanceSplitContainer.Panel1.PerformLayout();
     136      this.problemInstanceSplitContainer.Panel2.ResumeLayout(false);
     137      this.problemInstanceSplitContainer.Panel2.PerformLayout();
     138      ((System.ComponentModel.ISupportInitialize)(this.problemInstanceSplitContainer)).EndInit();
     139      this.problemInstanceSplitContainer.ResumeLayout(false);
    138140      ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).EndInit();
    139141      this.tabControl.ResumeLayout(false);
     
    141143      this.visualizationTabPage.ResumeLayout(false);
    142144      this.ResumeLayout(false);
    143       this.PerformLayout();
    144145
    145146    }
  • trunk/sources/HeuristicLab.Problems.TravelingSalesman.Views/3.3/TravelingSalesmanProblemView.cs

    r7558 r7641  
    3131  [View("Traveling Salesman Problem View")]
    3232  [Content(typeof(TravelingSalesmanProblem), true)]
    33   public sealed partial class TravelingSalesmanProblemView : HeuristicOptimizationProblemView {
     33  public sealed partial class TravelingSalesmanProblemView : ProblemView {
    3434    public new TravelingSalesmanProblem Content {
    3535      get { return (TravelingSalesmanProblem)base.Content; }
Note: See TracChangeset for help on using the changeset viewer.