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.QuadraticAssignment.Views/3.3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.QuadraticAssignment.Views/3.3/QuadraticAssignmentProblemView.Designer.cs

    r7558 r7641  
    4545    /// </summary>
    4646    private void InitializeComponent() {
    47       this.openFileDialog = new System.Windows.Forms.OpenFileDialog();
    4847      this.tabControl = new System.Windows.Forms.TabControl();
    4948      this.problemTabPage = new System.Windows.Forms.TabPage();
    5049      this.visualizationTabPage = new System.Windows.Forms.TabPage();
    5150      this.qapView = new HeuristicLab.Problems.QuadraticAssignment.Views.QAPVisualizationControl();
     51      ((System.ComponentModel.ISupportInitialize)(this.problemInstanceSplitContainer)).BeginInit();
     52      this.problemInstanceSplitContainer.Panel1.SuspendLayout();
     53      this.problemInstanceSplitContainer.Panel2.SuspendLayout();
     54      this.problemInstanceSplitContainer.SuspendLayout();
    5255      ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).BeginInit();
    5356      this.tabControl.SuspendLayout();
     57      this.problemTabPage.SuspendLayout();
    5458      this.visualizationTabPage.SuspendLayout();
    5559      this.SuspendLayout();
    5660      //
     61      // libraryInfoButton
     62      //
     63      this.libraryInfoButton.Location = new System.Drawing.Point(224, 1);
     64      //
     65      // problemInstanceSplitContainer
     66      //
     67      //
     68      // problemInstanceSplitContainer.Panel2
     69      //
     70      this.problemInstanceSplitContainer.Panel2.Controls.Add(this.tabControl);
     71      //
    5772      // parameterCollectionView
    5873      //
    59       this.parameterCollectionView.Location = new System.Drawing.Point(8, 107);
    60       this.parameterCollectionView.Size = new System.Drawing.Size(629, 375);
     74      this.parameterCollectionView.Location = new System.Drawing.Point(0, 3);
     75      this.parameterCollectionView.Size = new System.Drawing.Size(497, 269);
    6176      //
    6277      // nameTextBox
     
    6479      this.errorProvider.SetIconAlignment(this.nameTextBox, System.Windows.Forms.ErrorIconAlignment.MiddleLeft);
    6580      this.errorProvider.SetIconPadding(this.nameTextBox, 2);
    66       this.nameTextBox.Location = new System.Drawing.Point(50, 29);
    67       this.nameTextBox.Size = new System.Drawing.Size(572, 20);
    68       //
    69       // nameLabel
    70       //
    71       this.nameLabel.Location = new System.Drawing.Point(3, 32);
    72       //
    73       // infoLabel
    74       //
    75       this.infoLabel.Location = new System.Drawing.Point(628, 32);
    76       //
    77       // openFileDialog
    78       //
    79       this.openFileDialog.FileName = "instance.dat";
    80       this.openFileDialog.Filter = "Dat files|*.dat|All files|*.*";
    8181      //
    8282      // tabControl
    8383      //
    84       this.tabControl.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
    85             | System.Windows.Forms.AnchorStyles.Left)
    86             | System.Windows.Forms.AnchorStyles.Right)));
     84      this.tabControl.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     85                  | System.Windows.Forms.AnchorStyles.Left)
     86                  | System.Windows.Forms.AnchorStyles.Right)));
    8787      this.tabControl.Controls.Add(this.problemTabPage);
    8888      this.tabControl.Controls.Add(this.visualizationTabPage);
    89       this.tabControl.Location = new System.Drawing.Point(0, 55);
     89      this.tabControl.Location = new System.Drawing.Point(0, 29);
    9090      this.tabControl.Name = "tabControl";
    9191      this.tabControl.SelectedIndex = 0;
    92       this.tabControl.Size = new System.Drawing.Size(647, 437);
     92      this.tabControl.Size = new System.Drawing.Size(511, 304);
    9393      this.tabControl.TabIndex = 8;
    9494      //
    9595      // problemTabPage
    9696      //
     97      this.problemTabPage.Controls.Add(this.parameterCollectionView);
    9798      this.problemTabPage.Location = new System.Drawing.Point(4, 22);
    9899      this.problemTabPage.Name = "problemTabPage";
    99100      this.problemTabPage.Padding = new System.Windows.Forms.Padding(3);
    100       this.problemTabPage.Size = new System.Drawing.Size(639, 411);
     101      this.problemTabPage.Size = new System.Drawing.Size(503, 278);
    101102      this.problemTabPage.TabIndex = 0;
    102103      this.problemTabPage.Text = "Problem";
     
    109110      this.visualizationTabPage.Name = "visualizationTabPage";
    110111      this.visualizationTabPage.Padding = new System.Windows.Forms.Padding(3);
    111       this.visualizationTabPage.Size = new System.Drawing.Size(639, 411);
     112      this.visualizationTabPage.Size = new System.Drawing.Size(503, 278);
    112113      this.visualizationTabPage.TabIndex = 1;
    113114      this.visualizationTabPage.Text = "Visualization";
     
    121122      this.qapView.Location = new System.Drawing.Point(3, 3);
    122123      this.qapView.Name = "qapView";
    123       this.qapView.Size = new System.Drawing.Size(633, 405);
     124      this.qapView.Size = new System.Drawing.Size(497, 272);
    124125      this.qapView.TabIndex = 0;
    125126      this.qapView.Weights = null;
     
    129130      this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
    130131      this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
    131       this.Controls.Add(this.tabControl);
    132132      this.Name = "QuadraticAssignmentProblemView";
    133       this.Size = new System.Drawing.Size(647, 492);
    134       this.Controls.SetChildIndex(this.tabControl, 0);
    135       this.Controls.SetChildIndex(this.infoLabel, 0);
    136       this.Controls.SetChildIndex(this.parameterCollectionView, 0);
    137       this.Controls.SetChildIndex(this.nameLabel, 0);
    138       this.Controls.SetChildIndex(this.nameTextBox, 0);
     133      this.problemInstanceSplitContainer.Panel1.ResumeLayout(false);
     134      this.problemInstanceSplitContainer.Panel1.PerformLayout();
     135      this.problemInstanceSplitContainer.Panel2.ResumeLayout(false);
     136      this.problemInstanceSplitContainer.Panel2.PerformLayout();
     137      ((System.ComponentModel.ISupportInitialize)(this.problemInstanceSplitContainer)).EndInit();
     138      this.problemInstanceSplitContainer.ResumeLayout(false);
    139139      ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).EndInit();
    140140      this.tabControl.ResumeLayout(false);
     141      this.problemTabPage.ResumeLayout(false);
    141142      this.visualizationTabPage.ResumeLayout(false);
    142143      this.ResumeLayout(false);
    143       this.PerformLayout();
    144144
    145145    }
     
    147147    #endregion
    148148
    149     private System.Windows.Forms.OpenFileDialog openFileDialog;
    150149    private System.Windows.Forms.TabControl tabControl;
    151150    private System.Windows.Forms.TabPage problemTabPage;
  • trunk/sources/HeuristicLab.Problems.QuadraticAssignment.Views/3.3/QuadraticAssignmentProblemView.cs

    r7558 r7641  
    2929  [View("Quadratic Assignment Problem View")]
    3030  [Content(typeof(QuadraticAssignmentProblem), IsDefaultView = true)]
    31   public sealed partial class QuadraticAssignmentProblemView : HeuristicOptimizationProblemView {
     31  public sealed partial class QuadraticAssignmentProblemView : ProblemView {
    3232    public new QuadraticAssignmentProblem Content {
    3333      get { return (QuadraticAssignmentProblem)base.Content; }
Note: See TracChangeset for help on using the changeset viewer.