- Timestamp:
- 03/19/14 15:19:50 (10 years ago)
- Location:
- branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3/DataGridContentView.cs
r10629 r10633 149 149 }); 150 150 } else if (e.Control && e.KeyCode == Keys.F) { 151 152 } else if (e.Control && e.KeyCode == Keys.H) { 153 151 FindAndReplaceDialog findAndReplaceDialog = new FindAndReplaceDialog(); 152 findAndReplaceDialog.Show(); 153 findAndReplaceDialog.ActivateSearch(); 154 155 } else if (e.Control && e.KeyCode == Keys.R) { 156 FindAndReplaceDialog findAndReplaceDialog = new FindAndReplaceDialog(); 157 findAndReplaceDialog.Show(); 158 findAndReplaceDialog.ActivateReplace(); 154 159 } 155 160 } -
branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3/FindAndReplaceDialog.Designer.cs
r10630 r10633 24 24 /// </summary> 25 25 private void InitializeComponent() { 26 this.tab Control1= new System.Windows.Forms.TabControl();27 this.tab Page1= new System.Windows.Forms.TabPage();26 this.tabSearchReplace = new System.Windows.Forms.TabControl(); 27 this.tabSearch = new System.Windows.Forms.TabPage(); 28 28 this.txtSearchString = new System.Windows.Forms.TextBox(); 29 29 this.lblSearch = new System.Windows.Forms.Label(); 30 30 this.btnFindAll = new System.Windows.Forms.Button(); 31 31 this.btnFindNext = new System.Windows.Forms.Button(); 32 this.tab Page2= new System.Windows.Forms.TabPage();33 this.tab Control1.SuspendLayout();34 this.tab Page1.SuspendLayout();32 this.tabReplace = new System.Windows.Forms.TabPage(); 33 this.tabSearchReplace.SuspendLayout(); 34 this.tabSearch.SuspendLayout(); 35 35 this.SuspendLayout(); 36 36 // 37 // tab Control137 // tabSearchReplace 38 38 // 39 this.tab Control1.Controls.Add(this.tabPage1);40 this.tab Control1.Controls.Add(this.tabPage2);41 this.tab Control1.Location = new System.Drawing.Point(12, 12);42 this.tab Control1.Name = "tabControl1";43 this.tab Control1.SelectedIndex = 0;44 this.tab Control1.Size = new System.Drawing.Size(511, 174);45 this.tab Control1.TabIndex = 0;39 this.tabSearchReplace.Controls.Add(this.tabSearch); 40 this.tabSearchReplace.Controls.Add(this.tabReplace); 41 this.tabSearchReplace.Location = new System.Drawing.Point(12, 12); 42 this.tabSearchReplace.Name = "tabSearchReplace"; 43 this.tabSearchReplace.SelectedIndex = 0; 44 this.tabSearchReplace.Size = new System.Drawing.Size(511, 174); 45 this.tabSearchReplace.TabIndex = 0; 46 46 // 47 // tab Page147 // tabSearch 48 48 // 49 this.tab Page1.Controls.Add(this.txtSearchString);50 this.tab Page1.Controls.Add(this.lblSearch);51 this.tab Page1.Controls.Add(this.btnFindAll);52 this.tab Page1.Controls.Add(this.btnFindNext);53 this.tab Page1.Location = new System.Drawing.Point(4, 22);54 this.tab Page1.Name = "tabPage1";55 this.tab Page1.Padding = new System.Windows.Forms.Padding(3);56 this.tab Page1.Size = new System.Drawing.Size(503, 148);57 this.tab Page1.TabIndex = 0;58 this.tab Page1.Text = "Search";59 this.tab Page1.UseVisualStyleBackColor = true;49 this.tabSearch.Controls.Add(this.txtSearchString); 50 this.tabSearch.Controls.Add(this.lblSearch); 51 this.tabSearch.Controls.Add(this.btnFindAll); 52 this.tabSearch.Controls.Add(this.btnFindNext); 53 this.tabSearch.Location = new System.Drawing.Point(4, 22); 54 this.tabSearch.Name = "tabSearch"; 55 this.tabSearch.Padding = new System.Windows.Forms.Padding(3); 56 this.tabSearch.Size = new System.Drawing.Size(503, 148); 57 this.tabSearch.TabIndex = 0; 58 this.tabSearch.Text = "Search"; 59 this.tabSearch.UseVisualStyleBackColor = true; 60 60 // 61 61 // txtSearchString … … 93 93 this.btnFindNext.UseVisualStyleBackColor = true; 94 94 // 95 // tab Page295 // tabReplace 96 96 // 97 this.tab Page2.Location = new System.Drawing.Point(4, 22);98 this.tab Page2.Name = "tabPage2";99 this.tab Page2.Padding = new System.Windows.Forms.Padding(3);100 this.tab Page2.Size = new System.Drawing.Size(503, 148);101 this.tab Page2.TabIndex = 1;102 this.tab Page2.Text = "Replace";103 this.tab Page2.UseVisualStyleBackColor = true;97 this.tabReplace.Location = new System.Drawing.Point(4, 22); 98 this.tabReplace.Name = "tabReplace"; 99 this.tabReplace.Padding = new System.Windows.Forms.Padding(3); 100 this.tabReplace.Size = new System.Drawing.Size(503, 148); 101 this.tabReplace.TabIndex = 1; 102 this.tabReplace.Text = "Replace"; 103 this.tabReplace.UseVisualStyleBackColor = true; 104 104 // 105 105 // FindAndReplaceDialog … … 108 108 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 109 109 this.ClientSize = new System.Drawing.Size(532, 197); 110 this.Controls.Add(this.tab Control1);110 this.Controls.Add(this.tabSearchReplace); 111 111 this.Name = "FindAndReplaceDialog"; 112 112 this.Text = "FindAndReplaceDialog"; 113 this.tab Control1.ResumeLayout(false);114 this.tab Page1.ResumeLayout(false);115 this.tab Page1.PerformLayout();113 this.tabSearchReplace.ResumeLayout(false); 114 this.tabSearch.ResumeLayout(false); 115 this.tabSearch.PerformLayout(); 116 116 this.ResumeLayout(false); 117 117 … … 120 120 #endregion 121 121 122 private System.Windows.Forms.TabControl tab Control1;123 private System.Windows.Forms.TabPage tab Page1;124 private System.Windows.Forms.TabPage tab Page2;122 private System.Windows.Forms.TabControl tabSearchReplace; 123 private System.Windows.Forms.TabPage tabSearch; 124 private System.Windows.Forms.TabPage tabReplace; 125 125 private System.Windows.Forms.Button btnFindAll; 126 126 private System.Windows.Forms.Button btnFindNext; -
branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3/FindAndReplaceDialog.cs
r10630 r10633 1 using System; 2 using System.Collections.Generic; 3 using System.ComponentModel; 4 using System.Data; 5 using System.Drawing; 6 using System.Linq; 7 using System.Text; 8 using System.Windows.Forms; 1 using System.Windows.Forms; 9 2 10 3 namespace HeuristicLab.DataPreprocessing.Views { … … 12 5 public FindAndReplaceDialog() { 13 6 InitializeComponent(); 7 } 8 9 public void ActivateSearch() { 10 tabSearch.Focus(); 11 } 12 13 public void ActivateReplace() { 14 tabReplace.Focus(); 14 15 } 15 16 -
branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3/HeuristicLab.DataPreprocessing.Views-3.3.csproj
r10632 r10633 103 103 </Compile> 104 104 <Compile Include="Plugin.cs" /> 105 <Compile Include="PreprocessingCheckedItemListView.cs" /> 105 <Compile Include="PreprocessingCheckedItemListView.cs"> 106 <SubType>UserControl</SubType> 107 </Compile> 106 108 <Compile Include="PreprocessingCheckedItemListView.Designer.cs"> 107 109 <DependentUpon>PreprocessingCheckedItemListView.cs</DependentUpon>
Note: See TracChangeset
for help on using the changeset viewer.