Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/11/10 03:59:22 (14 years ago)
Author:
swagner
Message:

Enabled dragging and dropping of problems and algorithms in AlgorithmView and BatchRunView (#965).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Optimization.Views/3.3/BatchRunView.Designer.cs

    r3281 r3299  
    4848      this.tabControl = new System.Windows.Forms.TabControl();
    4949      this.algorithmTabPage = new System.Windows.Forms.TabPage();
     50      this.algorithmPanel = new System.Windows.Forms.Panel();
     51      this.algorithmViewHost = new HeuristicLab.MainForm.WindowsForms.ViewHost();
    5052      this.saveAlgorithmButton = new System.Windows.Forms.Button();
    5153      this.openAlgorithmButton = new System.Windows.Forms.Button();
    5254      this.newAlgorithmButton = new System.Windows.Forms.Button();
    53       this.algorithmViewHost = new HeuristicLab.MainForm.WindowsForms.ViewHost();
    5455      this.runsTabPage = new System.Windows.Forms.TabPage();
    5556      this.runsView = new HeuristicLab.Optimization.Views.RunCollectionView();
     
    6768      this.tabControl.SuspendLayout();
    6869      this.algorithmTabPage.SuspendLayout();
     70      this.algorithmPanel.SuspendLayout();
    6971      this.runsTabPage.SuspendLayout();
    7072      ((System.ComponentModel.ISupportInitialize)(this.repetitionsNumericUpDown)).BeginInit();
     
    9698      // algorithmTabPage
    9799      //
     100      this.algorithmTabPage.Controls.Add(this.algorithmPanel);
    98101      this.algorithmTabPage.Controls.Add(this.saveAlgorithmButton);
    99102      this.algorithmTabPage.Controls.Add(this.openAlgorithmButton);
    100103      this.algorithmTabPage.Controls.Add(this.newAlgorithmButton);
    101       this.algorithmTabPage.Controls.Add(this.algorithmViewHost);
    102104      this.algorithmTabPage.Location = new System.Drawing.Point(4, 22);
    103105      this.algorithmTabPage.Name = "algorithmTabPage";
     
    107109      this.algorithmTabPage.Text = "Algorithm";
    108110      this.algorithmTabPage.UseVisualStyleBackColor = true;
     111      //
     112      // algorithmPanel
     113      //
     114      this.algorithmPanel.AllowDrop = true;
     115      this.algorithmPanel.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     116                  | System.Windows.Forms.AnchorStyles.Left)
     117                  | System.Windows.Forms.AnchorStyles.Right)));
     118      this.algorithmPanel.Controls.Add(this.algorithmViewHost);
     119      this.algorithmPanel.Location = new System.Drawing.Point(6, 36);
     120      this.algorithmPanel.Name = "algorithmPanel";
     121      this.algorithmPanel.Size = new System.Drawing.Size(659, 306);
     122      this.algorithmPanel.TabIndex = 3;
     123      this.algorithmPanel.DragOver += new System.Windows.Forms.DragEventHandler(this.algorithmPanel_DragEnterOver);
     124      this.algorithmPanel.DragDrop += new System.Windows.Forms.DragEventHandler(this.algorithmPanel_DragDrop);
     125      this.algorithmPanel.DragEnter += new System.Windows.Forms.DragEventHandler(this.algorithmPanel_DragEnterOver);
     126      //
     127      // algorithmViewHost
     128      //
     129      this.algorithmViewHost.Content = null;
     130      this.algorithmViewHost.Dock = System.Windows.Forms.DockStyle.Fill;
     131      this.algorithmViewHost.Location = new System.Drawing.Point(0, 0);
     132      this.algorithmViewHost.Name = "algorithmViewHost";
     133      this.algorithmViewHost.Size = new System.Drawing.Size(659, 306);
     134      this.algorithmViewHost.TabIndex = 0;
     135      this.algorithmViewHost.ViewType = null;
    109136      //
    110137      // saveAlgorithmButton
     
    140167      this.newAlgorithmButton.UseVisualStyleBackColor = true;
    141168      this.newAlgorithmButton.Click += new System.EventHandler(this.newAlgorithmButton_Click);
    142       //
    143       // algorithmViewHost
    144       //
    145       this.algorithmViewHost.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
    146                   | System.Windows.Forms.AnchorStyles.Left)
    147                   | System.Windows.Forms.AnchorStyles.Right)));
    148       this.algorithmViewHost.Content = null;
    149       this.algorithmViewHost.Location = new System.Drawing.Point(6, 36);
    150       this.algorithmViewHost.Name = "algorithmViewHost";
    151       this.algorithmViewHost.Size = new System.Drawing.Size(659, 306);
    152       this.algorithmViewHost.TabIndex = 3;
    153       this.algorithmViewHost.ViewType = null;
    154169      //
    155170      // runsTabPage
     
    279294            0,
    280295            0});
    281       this.repetitionsNumericUpDown.Validated += new System.EventHandler(repetitionsNumericUpDown_Validated);
    282296      this.repetitionsNumericUpDown.ValueChanged += new System.EventHandler(this.repetitionsNumericUpDown_ValueChanged);
     297      this.repetitionsNumericUpDown.Validated += new System.EventHandler(this.repetitionsNumericUpDown_Validated);
    283298      //
    284299      // pauseButton
     
    325340      this.tabControl.ResumeLayout(false);
    326341      this.algorithmTabPage.ResumeLayout(false);
     342      this.algorithmPanel.ResumeLayout(false);
    327343      this.runsTabPage.ResumeLayout(false);
    328344      ((System.ComponentModel.ISupportInitialize)(this.repetitionsNumericUpDown)).EndInit();
     
    351367    private RunCollectionView runsView;
    352368    private System.Windows.Forms.Button pauseButton;
     369    private System.Windows.Forms.Panel algorithmPanel;
    353370
    354371  }
Note: See TracChangeset for help on using the changeset viewer.