Changeset 10762 for branches/DataPreprocessing
- Timestamp:
- 04/23/14 10:48:19 (11 years ago)
- Location:
- branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3
- Files:
-
- 1 added
- 3 edited
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3/DataGridContentView.Designer.cs
r10558 r10762 54 54 this.mostCommonToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); 55 55 this.interpolationToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); 56 this.btnSearch = new System.Windows.Forms.Button(); 57 this.btnReplace = new System.Windows.Forms.Button(); 58 this.toolTip = new System.Windows.Forms.ToolTip(this.components); 56 59 ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).BeginInit(); 57 60 this.contextMenuCell.SuspendLayout(); … … 80 83 // btnApplySort 81 84 // 82 this.btnApplySort.Location = new System.Drawing.Point( 241, 19);85 this.btnApplySort.Location = new System.Drawing.Point(349, 19); 83 86 this.btnApplySort.Name = "btnApplySort"; 84 87 this.btnApplySort.Size = new System.Drawing.Size(75, 23); 85 88 this.btnApplySort.TabIndex = 7; 86 89 this.btnApplySort.Text = "Apply Sort"; 90 this.toolTip.SetToolTip(this.btnApplySort, "The current sorting is applied on the data itself."); 87 91 this.btnApplySort.UseVisualStyleBackColor = true; 88 92 this.btnApplySort.Click += new System.EventHandler(this.btnApplySort_Click); … … 93 97 this.replaceValueToolStripMenuItem}); 94 98 this.contextMenuCell.Name = "contextMenuCell"; 95 this.contextMenuCell.Size = new System.Drawing.Size(1 53, 48);99 this.contextMenuCell.Size = new System.Drawing.Size(148, 26); 96 100 // 97 101 // replaceValueToolStripMenuItem … … 104 108 this.interpolationToolStripMenuItem}); 105 109 this.replaceValueToolStripMenuItem.Name = "replaceValueToolStripMenuItem"; 106 this.replaceValueToolStripMenuItem.Size = new System.Drawing.Size(1 52, 22);110 this.replaceValueToolStripMenuItem.Size = new System.Drawing.Size(147, 22); 107 111 this.replaceValueToolStripMenuItem.Text = "Replace Value"; 108 112 // … … 142 146 this.interpolationToolStripMenuItem.Click += new System.EventHandler(this.ReplaceWithInterpolation_Click); 143 147 // 148 // btnSearch 149 // 150 this.btnSearch.Location = new System.Drawing.Point(201, 19); 151 this.btnSearch.Name = "btnSearch"; 152 this.btnSearch.Size = new System.Drawing.Size(53, 23); 153 this.btnSearch.TabIndex = 8; 154 this.btnSearch.Text = "Search"; 155 this.toolTip.SetToolTip(this.btnSearch, "Opens the Search dialog"); 156 this.btnSearch.UseVisualStyleBackColor = true; 157 this.btnSearch.Click += new System.EventHandler(this.button1_Click); 158 // 159 // btnReplace 160 // 161 this.btnReplace.Location = new System.Drawing.Point(260, 19); 162 this.btnReplace.Name = "btnReplace"; 163 this.btnReplace.Size = new System.Drawing.Size(55, 23); 164 this.btnReplace.TabIndex = 9; 165 this.btnReplace.Text = "Replace"; 166 this.toolTip.SetToolTip(this.btnReplace, "Opens the Search & Replace dialog"); 167 this.btnReplace.UseVisualStyleBackColor = true; 168 this.btnReplace.Click += new System.EventHandler(this.btnReplace_Click); 169 // 144 170 // DataGridContentView 145 171 // 146 172 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); 147 173 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 174 this.Controls.Add(this.btnReplace); 175 this.Controls.Add(this.btnSearch); 148 176 this.Controls.Add(this.btnApplySort); 149 177 this.Name = "DataGridContentView"; … … 155 183 this.Controls.SetChildIndex(this.columnsTextBox, 0); 156 184 this.Controls.SetChildIndex(this.btnApplySort, 0); 185 this.Controls.SetChildIndex(this.btnSearch, 0); 186 this.Controls.SetChildIndex(this.btnReplace, 0); 157 187 ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).EndInit(); 158 188 this.contextMenuCell.ResumeLayout(false); … … 172 202 private System.Windows.Forms.ToolStripMenuItem mostCommonToolStripMenuItem; 173 203 private System.Windows.Forms.ToolStripMenuItem interpolationToolStripMenuItem; 204 private System.Windows.Forms.Button btnSearch; 205 private System.Windows.Forms.Button btnReplace; 206 private System.Windows.Forms.ToolTip toolTip; 174 207 } 175 208 } -
branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3/DataGridContentView.cs
r10739 r10762 35 35 36 36 private bool notOwnEvent = true; 37 private FindAndReplaceDialog findAndReplaceDialog;37 private SearchAndReplaceDialog findAndReplaceDialog; 38 38 private IFindPreprocessingItemsIterator searchIterator; 39 39 private string currentSearchText; … … 159 159 160 160 private void CreateFindAndReplaceDialog() { 161 findAndReplaceDialog = new FindAndReplaceDialog();161 findAndReplaceDialog = new SearchAndReplaceDialog(); 162 162 findAndReplaceDialog.Show(this); 163 163 HightlightedCellsBackground = GetSelectedCells(); … … 399 399 Content.PreprocessingDataManipulation.ReplaceIndicesByLinearInterpolationOfNeighbours(GetSelectedCells()); 400 400 } 401 402 private void button1_Click(object sender, EventArgs e) { 403 CreateFindAndReplaceDialog(); 404 findAndReplaceDialog.ActivateSearch(); 405 } 406 407 private void btnReplace_Click(object sender, EventArgs e) { 408 CreateFindAndReplaceDialog(); 409 findAndReplaceDialog.ActivateReplace(); 410 } 401 411 } 402 412 } -
branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3/HeuristicLab.DataPreprocessing.Views-3.3.csproj
r10738 r10762 89 89 <DependentUpon>FilterView.cs</DependentUpon> 90 90 </Compile> 91 <Compile Include=" FindAndReplaceDialog.cs">91 <Compile Include="SearchAndReplaceDialog.cs"> 92 92 <SubType>Form</SubType> 93 93 </Compile> 94 <Compile Include=" FindAndReplaceDialog.Designer.cs">95 <DependentUpon> FindAndReplaceDialog.cs</DependentUpon>94 <Compile Include="SearchAndReplaceDialog.Designer.cs"> 95 <DependentUpon>SearchAndReplaceDialog.cs</DependentUpon> 96 96 </Compile> 97 97 <Compile Include="HistogramView.cs"> … … 242 242 <Name>HeuristicLab.Visualization.ChartControlsExtensions-3.3</Name> 243 243 </ProjectReference> 244 </ItemGroup> 245 <ItemGroup> 246 <EmbeddedResource Include="DataGridContentView.resx"> 247 <DependentUpon>DataGridContentView.cs</DependentUpon> 248 </EmbeddedResource> 244 249 </ItemGroup> 245 250 <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> -
branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3/SearchAndReplaceDialog.Designer.cs
r10761 r10762 1 1 namespace HeuristicLab.DataPreprocessing.Views { 2 partial class FindAndReplaceDialog {2 partial class SearchAndReplaceDialog { 3 3 /// <summary> 4 4 /// Required designer variable. … … 172 172 this.label1.Text = "Replace with"; 173 173 // 174 // FindAndReplaceDialog174 // SearchAndReplaceDialog 175 175 // 176 176 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); … … 180 180 this.MaximizeBox = false; 181 181 this.MinimizeBox = false; 182 this.Name = " FindAndReplaceDialog";182 this.Name = "SearchAndReplaceDialog"; 183 183 this.ShowIcon = false; 184 184 this.ShowInTaskbar = false; 185 this.Text = " Findand Replace";185 this.Text = "Search and Replace"; 186 186 this.tabSearchReplace.ResumeLayout(false); 187 187 this.tabReplace.ResumeLayout(false); -
branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3/SearchAndReplaceDialog.cs
r10761 r10762 13 13 } 14 14 15 public partial class FindAndReplaceDialog : Form {15 public partial class SearchAndReplaceDialog : Form { 16 16 private string[] cmbItemsText = { "Value", "Average", "Median", "Random", "Most Common", "Interpolation" }; 17 17 18 public FindAndReplaceDialog() {18 public SearchAndReplaceDialog() { 19 19 InitializeComponent(); 20 20 cmbReplaceWith.Items.AddRange(cmbItemsText);
Note: See TracChangeset
for help on using the changeset viewer.