Changeset 10739
- Timestamp:
- 04/09/14 13:16:54 (11 years ago)
- Location:
- branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3/DataGridContentView.cs
r10719 r10739 86 86 protected override void OnContentChanged() { 87 87 base.OnContentChanged(); 88 if (Content == null && findAndReplaceDialog != null) { 89 findAndReplaceDialog.Close(); 90 } 88 91 } 89 92 … … 196 199 if (currentCell != null) { 197 200 HightlightedCells = TransformToDictionary(currentCell); 201 dataGridView.FirstDisplayedCell = dataGridView[currentCell.Item1, currentCell.Item2]; 198 202 } else { 199 203 ResetHighlightedCells(); … … 207 211 void findAndReplaceDialog_FindAllEvent(object sender, EventArgs e) { 208 212 HightlightedCells = FindAll(findAndReplaceDialog.GetSearchText()); 209 searchIterator.Reset();210 213 } 211 214 … … 224 227 IList<int> selectedList; 225 228 if (searchInSelection && HightlightedCellsBackground.TryGetValue(i, out selectedList)) { 226 foundCells[i] .Intersect(selectedList);227 } else {229 foundCells[i] = foundCells[i].Intersect(selectedList).ToList<int>(); 230 } else if (searchInSelection) { 228 231 foundCells[i].Clear(); 229 232 } -
branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3/FindAndReplaceDialog.Designer.cs
r10706 r10739 60 60 this.tabSearch.Name = "tabSearch"; 61 61 this.tabSearch.Padding = new System.Windows.Forms.Padding(3); 62 this.tabSearch.Size = new System.Drawing.Size(556, 1 17);62 this.tabSearch.Size = new System.Drawing.Size(556, 106); 63 63 this.tabSearch.TabIndex = 0; 64 64 this.tabSearch.Text = "Search"; … … 178 178 this.ClientSize = new System.Drawing.Size(588, 156); 179 179 this.Controls.Add(this.tabSearchReplace); 180 this.MaximizeBox = false; 181 this.MinimizeBox = false; 180 182 this.Name = "FindAndReplaceDialog"; 183 this.ShowIcon = false; 184 this.ShowInTaskbar = false; 181 185 this.Text = "Find and Replace"; 182 186 this.tabSearchReplace.ResumeLayout(false); -
branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3/FindAndReplaceDialog.cs
r10706 r10739 23 23 24 24 public void ActivateSearch() { 25 tabSearch .Focus();25 tabSearchReplace.SelectTab(tabSearch); 26 26 AddControlsToCurrentTab(); 27 27 } 28 28 29 29 public void ActivateReplace() { 30 tab Replace.Focus();30 tabSearchReplace.SelectTab(tabReplace); 31 31 AddControlsToCurrentTab(); 32 32 } … … 45 45 tabSearchReplace.SelectedTab.Controls.Add(lblSearch); 46 46 tabSearchReplace.SelectedTab.Controls.Add(txtSearchString); 47 ActiveControl = txtSearchString; 48 AcceptButton = btnFindNext; 47 49 } 48 50
Note: See TracChangeset
for help on using the changeset viewer.