- Timestamp:
- 07/03/17 10:57:53 (7 years ago)
- Location:
- trunk/sources/HeuristicLab.DataPreprocessing.Views
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.DataPreprocessing.Views
- Property svn:mergeinfo changed
-
trunk/sources/HeuristicLab.DataPreprocessing.Views/3.4/DataGridContentView.cs
r14548 r15110 33 33 [Content(typeof(DataGridContent), true)] 34 34 public partial class DataGridContentView : StringConvertibleMatrixView { 35 36 35 private bool isSearching = false; 37 36 private bool updateOnMouseUp = false; … … 81 80 base.Sort(); 82 81 } 83 84 82 } 85 83 … … 141 139 } 142 140 } 143 144 141 145 142 protected override void PasteValuesToDataGridView() { … … 692 689 } 693 690 } 691 692 private void checkInputsTargetButton_Click(object sender, EventArgs e) { 693 foreach (DataGridViewColumn column in DataGridView.Columns) { 694 var variable = column.HeaderText; 695 bool isInputTarget = Content.PreProcessingData.InputVariables.Contains(variable) 696 || Content.PreProcessingData.TargetVariable == variable; 697 column.Visible = isInputTarget; 698 } 699 } 700 701 private void checkAllButton_Click(object sender, EventArgs e) { 702 foreach (DataGridViewColumn column in DataGridView.Columns) { 703 column.Visible = true; 704 } 705 } 706 707 private void uncheckAllButton_Click(object sender, EventArgs e) { 708 foreach (DataGridViewColumn column in DataGridView.Columns) { 709 column.Visible = false; 710 } 711 } 694 712 } 695 713 }
Note: See TracChangeset
for help on using the changeset viewer.