Changeset 10554
- Timestamp:
- 03/05/14 17:31:24 (11 years ago)
- Location:
- branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Implementations/PreprocessingData.cs
r10550 r10554 103 103 var copy = new Dictionary<int, IList>(variableValues); 104 104 for (int i = 0; i < original.Count; i++) { 105 if (variableValues[i] is IList<double>) { 106 copy[i] = new List<double>((IList<double>)variableValues[i]); 107 } else if (variableValues[i] is IList<DateTime>) { 108 copy[i] = new List<DateTime>((IList<DateTime>)variableValues[i]); 109 } else if (variableValues[i] is IList<string>) { 110 copy[i] = new List<string>((IList<string>)variableValues[i]); 111 } else { 112 throw new NotImplementedException("The Type is not Supported"); 113 } 105 variableValues[i] = (IList)Activator.CreateInstance(original[i].GetType(), original[i]); 114 106 } 115 107 return copy; -
branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Views/DataPreprocessingView.designer.cs
r10550 r10554 82 82 // undoButton 83 83 // 84 this.undoButton.Image = ((System.Drawing.Image)(resources.GetObject("undoButton.Image")));84 this.undoButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.Undo; 85 85 this.undoButton.Location = new System.Drawing.Point(72, 14); 86 86 this.undoButton.Name = "undoButton"; … … 93 93 // applyInNewTabButton 94 94 // 95 this.applyInNewTabButton.Image = ((System.Drawing.Image)(resources.GetObject("applyInNewTabButton.Image")));95 this.applyInNewTabButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.Play; 96 96 this.applyInNewTabButton.Location = new System.Drawing.Point(42, 14); 97 97 this.applyInNewTabButton.Name = "applyInNewTabButton"; … … 104 104 // exportProblemButton 105 105 // 106 this.exportProblemButton.Image = ((System.Drawing.Image)(resources.GetObject("exportProblemButton.Image")));106 this.exportProblemButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.Save; 107 107 this.exportProblemButton.Location = new System.Drawing.Point(12, 14); 108 108 this.exportProblemButton.Name = "exportProblemButton"; … … 115 115 // contentListView 116 116 // 117 this.contentListView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 118 | System.Windows.Forms.AnchorStyles.Left) 117 this.contentListView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 118 | System.Windows.Forms.AnchorStyles.Left) 119 119 | System.Windows.Forms.AnchorStyles.Right))); 120 120 this.contentListView.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); … … 130 130 // viewHost 131 131 // 132 this.viewHost.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 133 | System.Windows.Forms.AnchorStyles.Left) 132 this.viewHost.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 133 | System.Windows.Forms.AnchorStyles.Left) 134 134 | System.Windows.Forms.AnchorStyles.Right))); 135 135 this.viewHost.Caption = "View";
Note: See TracChangeset
for help on using the changeset viewer.