- Timestamp:
- 01/28/16 18:32:54 (8 years ago)
- 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 172 172 <Compile Include="Shapes\CuboidPackingShapeView.Designer.cs"> 173 173 <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> 174 186 </Compile> 175 187 <None Include="HeuristicLab.snk" /> -
branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking.Views/3.3/Shapes/RectangularPackingItemView.Designer.cs
r13466 r13574 45 45 /// </summary> 46 46 private void InitializeComponent() { 47 this.packingPlan2D = new PackingPlanVisualizations.PackingPlan2D();48 47 this.SuspendLayout(); 49 //50 // packingPlan2D51 //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;57 48 // 58 49 // RectangularPackingItemView 59 50 // 60 51 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit; 61 this.Controls.Add(this.packingPlan2D);62 52 this.Name = "RectangularPackingItemView"; 63 53 this.Size = new System.Drawing.Size(351, 299); … … 68 58 #endregion 69 59 70 private PackingPlanVisualizations.PackingPlan2D packingPlan2D;71 60 } 72 61 } -
branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking.Views/3.3/Shapes/RectangularPackingItemView.cs
r13466 r13574 47 47 48 48 private void ClearState() { 49 packingPlan2D.InitializeContainer(0, 0);49 // packingPlan2D.InitializeContainer(0, 0); 50 50 } 51 51 52 52 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"); 55 55 } 56 56 -
branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking.Views/3.3/Shapes/RectangularPackingShapeView.Designer.cs
r13466 r13574 45 45 /// </summary> 46 46 private void InitializeComponent() { 47 this.packingPlan2D = new PackingPlanVisualizations.PackingPlan2D();48 47 this.SuspendLayout(); 49 //50 // packingPlan2D51 //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;57 48 // 58 49 // RectangularPackingShapeView 59 50 // 60 51 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit; 61 this.Controls.Add(this.packingPlan2D);62 52 this.Name = "RectangularPackingShapeView"; 63 53 this.Size = new System.Drawing.Size(351, 299); … … 68 58 #endregion 69 59 70 private PackingPlanVisualizations.PackingPlan2D packingPlan2D;71 60 } 72 61 } -
branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking.Views/3.3/Shapes/RectangularPackingShapeView.cs
r13466 r13574 47 47 48 48 private void ClearState() { 49 packingPlan2D.InitializeContainer(0, 0);49 // packingPlan2D.InitializeContainer(0, 0); 50 50 } 51 51 52 52 private void UpdateState(RectangularPackingShape shape) { 53 packingPlan2D.InitializeContainer(shape.Width, shape.Height);53 // packingPlan2D.InitializeContainer(shape.Width, shape.Height); 54 54 } 55 55
Note: See TracChangeset
for help on using the changeset viewer.