Changeset 10589
- Timestamp:
- 03/12/14 17:37:19 (11 years ago)
- Location:
- branches/DataPreprocessing
- Files:
-
- 4 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3
-
Property
svn:ignore
set to
ComparisonFilterView.resx
FilterView.resx
-
Property
svn:ignore
set to
-
branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3/ComparisonFilterView.Designer.cs
r10558 r10589 45 45 /// </summary> 46 46 private void InitializeComponent() { 47 this.label1 = new System.Windows.Forms.Label(); 47 this.lblAttr = new System.Windows.Forms.Label(); 48 this.lblFilterOperation = new System.Windows.Forms.Label(); 49 this.lblFilterData = new System.Windows.Forms.Label(); 50 this.cbAttr = new System.Windows.Forms.ComboBox(); 51 this.cbFilterOperation = new System.Windows.Forms.ComboBox(); 52 this.tbFilterData = new System.Windows.Forms.TextBox(); 48 53 this.SuspendLayout(); 49 54 // 50 // l abel155 // lblAttr 51 56 // 52 this.label1.AutoSize = true; 53 this.label1.Location = new System.Drawing.Point(312, 120); 54 this.label1.Name = "label1"; 55 this.label1.Size = new System.Drawing.Size(35, 13); 56 this.label1.TabIndex = 0; 57 this.label1.Text = "label1"; 57 this.lblAttr.AutoSize = true; 58 this.lblAttr.Location = new System.Drawing.Point(3, 15); 59 this.lblAttr.Name = "lblAttr"; 60 this.lblAttr.Size = new System.Drawing.Size(49, 13); 61 this.lblAttr.TabIndex = 0; 62 this.lblAttr.Text = "Attribute:"; 63 // 64 // lblFilterOperation 65 // 66 this.lblFilterOperation.AutoSize = true; 67 this.lblFilterOperation.Location = new System.Drawing.Point(3, 42); 68 this.lblFilterOperation.Name = "lblFilterOperation"; 69 this.lblFilterOperation.Size = new System.Drawing.Size(81, 13); 70 this.lblFilterOperation.TabIndex = 1; 71 this.lblFilterOperation.Text = "Filter Operation:"; 72 // 73 // lblFilterData 74 // 75 this.lblFilterData.AutoSize = true; 76 this.lblFilterData.Location = new System.Drawing.Point(3, 69); 77 this.lblFilterData.Name = "lblFilterData"; 78 this.lblFilterData.Size = new System.Drawing.Size(58, 13); 79 this.lblFilterData.TabIndex = 2; 80 this.lblFilterData.Text = "Filter Data:"; 81 // 82 // cbAttr 83 // 84 this.cbAttr.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 85 | System.Windows.Forms.AnchorStyles.Right))); 86 this.cbAttr.FormattingEnabled = true; 87 this.cbAttr.Location = new System.Drawing.Point(92, 12); 88 this.cbAttr.Name = "cbAttr"; 89 this.cbAttr.Size = new System.Drawing.Size(247, 21); 90 this.cbAttr.TabIndex = 3; 91 // 92 // cbFilterOperation 93 // 94 this.cbFilterOperation.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 95 | System.Windows.Forms.AnchorStyles.Right))); 96 this.cbFilterOperation.FormattingEnabled = true; 97 this.cbFilterOperation.Location = new System.Drawing.Point(92, 39); 98 this.cbFilterOperation.Name = "cbFilterOperation"; 99 this.cbFilterOperation.Size = new System.Drawing.Size(247, 21); 100 this.cbFilterOperation.TabIndex = 4; 101 // 102 // tbFilterData 103 // 104 this.tbFilterData.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 105 | System.Windows.Forms.AnchorStyles.Right))); 106 this.tbFilterData.Location = new System.Drawing.Point(92, 67); 107 this.tbFilterData.Name = "tbFilterData"; 108 this.tbFilterData.Size = new System.Drawing.Size(247, 20); 109 this.tbFilterData.TabIndex = 5; 58 110 // 59 111 // ComparisonFilterView … … 61 113 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); 62 114 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 63 this.Controls.Add(this.label1); 115 this.Controls.Add(this.tbFilterData); 116 this.Controls.Add(this.cbFilterOperation); 117 this.Controls.Add(this.cbAttr); 118 this.Controls.Add(this.lblFilterData); 119 this.Controls.Add(this.lblFilterOperation); 120 this.Controls.Add(this.lblAttr); 64 121 this.Name = "ComparisonFilterView"; 65 this.Size = new System.Drawing.Size( 615, 503);122 this.Size = new System.Drawing.Size(348, 97); 66 123 this.ResumeLayout(false); 67 124 this.PerformLayout(); … … 71 128 #endregion 72 129 73 private System.Windows.Forms.Label label1; 130 private System.Windows.Forms.Label lblAttr; 131 private System.Windows.Forms.Label lblFilterOperation; 132 private System.Windows.Forms.Label lblFilterData; 133 private System.Windows.Forms.ComboBox cbAttr; 134 private System.Windows.Forms.ComboBox cbFilterOperation; 135 private System.Windows.Forms.TextBox tbFilterData; 74 136 75 137 } -
branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3/ComparisonFilterView.cs
r10558 r10589 21 21 22 22 using HeuristicLab.Core.Views; 23 using HeuristicLab.Core; 24 using HeuristicLab.Data; 23 25 using HeuristicLab.DataPreprocessing.Filter; 24 26 using HeuristicLab.MainForm; 27 using System.Collections; 25 28 26 29 namespace HeuristicLab.DataPreprocessing.Views { … … 37 40 } 38 41 39 protected override void OnContentChanged() { 40 base.OnContentChanged(); 41 } 42 //protected override void OnContentChanged() { 43 // base.OnContentChanged(); 44 // cbAttr.Items.Clear(); 45 // cbFilterOperation.Items.Clear(); 46 // if (Content != null) 47 // { 48 // cbFilterOperation.Items.AddRange(Content.AllowedConstraintOperations.ToArray()); 49 // if (Content.ConstraintOperation != null) 50 // cbFilterOperation.SelectedItem = Content.ConstraintOperation; 51 // else if (cbFilterOperation.Items.Count != 0) 52 // cbFilterOperation.SelectedIndex = 0; 53 // UpdateColumnComboBox(); 54 // ReadOnly = Content.Active; 55 // } 56 //} 57 58 59 60 //protected virtual void UpdateColumnComboBox() 61 //{ 62 // this.cbAttr.Items.Clear(); 63 // if (Content.ConstrainedValue != null) 64 // { 65 // this.cbAttr.Items.AddRange(((IStringConvertibleMatrix)Content.ConstrainedValue).ColumnNames.ToArray()); 66 // if (!string.IsNullOrEmpty(Content.ConstraintColumn)) 67 // this.cbAttr.SelectedItem = Content.ConstraintColumn; 68 // } 69 //} 42 70 43 71 } -
branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3/HeuristicLab.DataPreprocessing.Views-3.3.csproj
r10583 r10589 38 38 </PropertyGroup> 39 39 <ItemGroup> 40 <Reference Include="HeuristicLab.Collections-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 41 <SpecificVersion>False</SpecificVersion> 42 <HintPath>..\..\bin\HeuristicLab.Collections-3.3.dll</HintPath> 43 </Reference> 44 <Reference Include="HeuristicLab.Problems.Instances-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 45 <SpecificVersion>False</SpecificVersion> 46 <HintPath>..\..\bin\HeuristicLab.Problems.Instances-3.3.dll</HintPath> 47 </Reference> 48 <Reference Include="HeuristicLab.Problems.Instances.Views-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 49 <SpecificVersion>False</SpecificVersion> 50 <HintPath>..\..\bin\HeuristicLab.Problems.Instances.Views-3.3.dll</HintPath> 51 </Reference> 40 52 <Reference Include="System" /> 41 53 <Reference Include="System.Core" /> 54 <Reference Include="System.Data" /> 42 55 <Reference Include="System.Drawing" /> 43 56 <Reference Include="System.Windows.Forms" /> 44 57 <Reference Include="System.Windows.Forms.DataVisualization" /> 58 <Reference Include="System.Xml" /> 45 59 </ItemGroup> 46 60 <ItemGroup> … … 159 173 <Name>HeuristicLab.MainForm-3.3</Name> 160 174 </ProjectReference> 175 <ProjectReference Include="..\..\HeuristicLab.Optimization.Views\3.3\HeuristicLab.Optimization.Views-3.3.csproj"> 176 <Project>{662B4B15-8F4D-4AE5-B3EB-D91C215F5AF2}</Project> 177 <Name>HeuristicLab.Optimization.Views-3.3</Name> 178 </ProjectReference> 161 179 <ProjectReference Include="..\..\HeuristicLab.Optimization\3.3\HeuristicLab.Optimization-3.3.csproj"> 162 180 <Project>{14AB8D24-25BC-400C-A846-4627AA945192}</Project> … … 179 197 <Name>HeuristicLab.Visualization.ChartControlsExtensions-3.3</Name> 180 198 </ProjectReference> 199 </ItemGroup> 200 <ItemGroup> 201 <EmbeddedResource Include="ComparisonFilterView.resx"> 202 <DependentUpon>ComparisonFilterView.cs</DependentUpon> 203 </EmbeddedResource> 204 <EmbeddedResource Include="FilterView.resx"> 205 <DependentUpon>FilterView.cs</DependentUpon> 206 </EmbeddedResource> 181 207 </ItemGroup> 182 208 <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> -
branches/DataPreprocessing/HeuristicLab.Optimization.Views/3.3/HeuristicLab.Optimization.Views-3.3.csproj
r9910 r10589 392 392 </ProjectReference> 393 393 </ItemGroup> 394 <ItemGroup> 395 <EmbeddedResource Include="RunCollectionConstraintViews\RunCollectionComparisonConstraintView.resx"> 396 <DependentUpon>RunCollectionComparisonConstraintView.cs</DependentUpon> 397 </EmbeddedResource> 398 </ItemGroup> 394 399 <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> 395 400 <!-- To modify your build process, add your task inside one of the targets below and uncomment it. -
branches/DataPreprocessing/HeuristicLab.Optimization.Views/3.3/RunCollectionConstraintViews/RunCollectionComparisonConstraintView.Designer.cs
r9456 r10589 48 48 this.txtConstraintData = new System.Windows.Forms.TextBox(); 49 49 this.errorProvider = new System.Windows.Forms.ErrorProvider(this.components); 50 this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components); 50 51 ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).BeginInit(); 51 52 this.SuspendLayout(); … … 53 54 // txtConstraintData 54 55 // 55 this.txtConstraintData.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 56 56 this.txtConstraintData.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 57 | System.Windows.Forms.AnchorStyles.Right))); 57 58 this.errorProvider.SetIconAlignment(this.txtConstraintData, System.Windows.Forms.ErrorIconAlignment.MiddleLeft); 58 59 this.errorProvider.SetIconPadding(this.txtConstraintData, 2); … … 61 62 this.txtConstraintData.Size = new System.Drawing.Size(246, 20); 62 63 this.txtConstraintData.TabIndex = 9; 64 this.txtConstraintData.Validating += new System.ComponentModel.CancelEventHandler(this.txtConstraintData_Validating); 63 65 this.txtConstraintData.Validated += new System.EventHandler(this.txtConstraintData_Validated); 64 this.txtConstraintData.Validating += new System.ComponentModel.CancelEventHandler(this.txtConstraintData_Validating);65 66 // 66 67 // errorProvider … … 68 69 this.errorProvider.ContainerControl = this; 69 70 // 71 // contextMenuStrip1 72 // 73 this.contextMenuStrip1.Name = "contextMenuStrip1"; 74 // 70 75 // RunCollectionComparisonConstraintView 71 76 // 72 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);73 77 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit; 74 78 this.Controls.Add(this.txtConstraintData); … … 88 92 private System.Windows.Forms.TextBox txtConstraintData; 89 93 private System.Windows.Forms.ErrorProvider errorProvider; 94 private System.Windows.Forms.ContextMenuStrip contextMenuStrip1; 90 95 } 91 96 }
Note: See TracChangeset
for help on using the changeset viewer.