Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/28/16 18:32:54 (9 years ago)
Author:
gkronber
Message:

#1966: changed PackingShapes to ParameterizedItems

Location:
branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking.Views/3.3
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking.Views/3.3/HeuristicLab.Problems.BinPacking.Views-3.3.csproj

    r13532 r13574  
    172172    <Compile Include="Shapes\CuboidPackingShapeView.Designer.cs">
    173173      <DependentUpon>CuboidPackingShapeView.cs</DependentUpon>
     174    </Compile>
     175    <Compile Include="Shapes\RectangularPackingItemView.cs">
     176      <SubType>UserControl</SubType>
     177    </Compile>
     178    <Compile Include="Shapes\RectangularPackingItemView.Designer.cs">
     179      <DependentUpon>RectangularPackingItemView.cs</DependentUpon>
     180    </Compile>
     181    <Compile Include="Shapes\RectangularPackingShapeView.cs">
     182      <SubType>UserControl</SubType>
     183    </Compile>
     184    <Compile Include="Shapes\RectangularPackingShapeView.Designer.cs">
     185      <DependentUpon>RectangularPackingShapeView.cs</DependentUpon>
    174186    </Compile>
    175187    <None Include="HeuristicLab.snk" />
  • branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking.Views/3.3/Shapes/RectangularPackingItemView.Designer.cs

    r13466 r13574  
    4545    /// </summary>
    4646    private void InitializeComponent() {
    47       this.packingPlan2D = new PackingPlanVisualizations.PackingPlan2D();
    4847      this.SuspendLayout();
    49       //
    50       // packingPlan2D
    51       //
    52       this.packingPlan2D.Dock = System.Windows.Forms.DockStyle.Fill;
    53       this.packingPlan2D.Location = new System.Drawing.Point(0, 0);
    54       this.packingPlan2D.Name = "packingPlan2D";
    55       this.packingPlan2D.Size = new System.Drawing.Size(351, 299);
    56       this.packingPlan2D.TabIndex = 4;
    5748      //
    5849      // RectangularPackingItemView
    5950      //
    6051      this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit;
    61       this.Controls.Add(this.packingPlan2D);
    6252      this.Name = "RectangularPackingItemView";
    6353      this.Size = new System.Drawing.Size(351, 299);
     
    6858    #endregion
    6959
    70     private PackingPlanVisualizations.PackingPlan2D packingPlan2D;
    7160  }
    7261}
  • branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking.Views/3.3/Shapes/RectangularPackingItemView.cs

    r13466 r13574  
    4747
    4848    private void ClearState() {
    49       packingPlan2D.InitializeContainer(0, 0);
     49      // packingPlan2D.InitializeContainer(0, 0);
    5050    }
    5151
    5252    private void UpdateState(RectangularPackingItem item) {
    53       packingPlan2D.InitializeContainer(item.TargetBin.Width, item.TargetBin.Height);
    54       packingPlan2D.AddItemToContainer(item.Width, item.Height, 0, 0, "0");
     53      // packingPlan2D.InitializeContainer(item.TargetBin.Width, item.TargetBin.Height);
     54      // packingPlan2D.AddItemToContainer(item.Width, item.Height, 0, 0, "0");
    5555    }
    5656
  • branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking.Views/3.3/Shapes/RectangularPackingShapeView.Designer.cs

    r13466 r13574  
    4545    /// </summary>
    4646    private void InitializeComponent() {
    47       this.packingPlan2D = new PackingPlanVisualizations.PackingPlan2D();
    4847      this.SuspendLayout();
    49       //
    50       // packingPlan2D
    51       //
    52       this.packingPlan2D.Dock = System.Windows.Forms.DockStyle.Fill;
    53       this.packingPlan2D.Location = new System.Drawing.Point(0, 0);
    54       this.packingPlan2D.Name = "packingPlan2D";
    55       this.packingPlan2D.Size = new System.Drawing.Size(351, 299);
    56       this.packingPlan2D.TabIndex = 4;
    5748      //
    5849      // RectangularPackingShapeView
    5950      //
    6051      this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit;
    61       this.Controls.Add(this.packingPlan2D);
    6252      this.Name = "RectangularPackingShapeView";
    6353      this.Size = new System.Drawing.Size(351, 299);
     
    6858    #endregion
    6959
    70     private PackingPlanVisualizations.PackingPlan2D packingPlan2D;
    7160  }
    7261}
  • branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking.Views/3.3/Shapes/RectangularPackingShapeView.cs

    r13466 r13574  
    4747
    4848    private void ClearState() {
    49       packingPlan2D.InitializeContainer(0, 0);
     49      // packingPlan2D.InitializeContainer(0, 0);
    5050    }
    5151
    5252    private void UpdateState(RectangularPackingShape shape) {
    53       packingPlan2D.InitializeContainer(shape.Width, shape.Height);
     53      // packingPlan2D.InitializeContainer(shape.Width, shape.Height);
    5454    }
    5555
Note: See TracChangeset for help on using the changeset viewer.