Changeset 10969
- Timestamp:
- 06/11/14 11:04:27 (10 years ago)
- Location:
- branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.4
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.4/DataPreprocessingView.cs
r10934 r10969 82 82 } 83 83 84 protected override void RegisterContentEvents() { 85 base.RegisterContentEvents(); 86 Content.Data.FilterChanged += Data_FilterChanged; 87 } 88 89 protected override void DeregisterContentEvents() { 90 base.DeregisterContentEvents(); 91 Content.Data.FilterChanged -= Data_FilterChanged; 92 } 93 94 void Data_FilterChanged(object sender, EventArgs e) { 95 lblFilterActive.Visible = Content.Data.IsFiltered; 96 } 97 84 98 protected override void SetEnabledStateOfControls() { 85 99 base.SetEnabledStateOfControls(); -
branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.4/DataPreprocessingView.designer.cs
r10904 r10969 51 51 this.exportProblemButton = new System.Windows.Forms.Button(); 52 52 this.toolTip = new System.Windows.Forms.ToolTip(this.components); 53 this.lblFilterActive = new System.Windows.Forms.Label(); 53 54 this.viewShortcutListView = new HeuristicLab.DataPreprocessing.Views.ViewShortcutListView(); 54 55 this.SuspendLayout(); … … 87 88 this.exportProblemButton.Click += new System.EventHandler(this.exportProblemButton_Click); 88 89 // 89 // ViewShortcutListView90 // lblFilterActive 90 91 // 91 this.viewShortcutListView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 92 | System.Windows.Forms.AnchorStyles.Left) 92 this.lblFilterActive.AutoSize = true; 93 this.lblFilterActive.Location = new System.Drawing.Point(220, 12); 94 this.lblFilterActive.Name = "lblFilterActive"; 95 this.lblFilterActive.Size = new System.Drawing.Size(277, 13); 96 this.lblFilterActive.TabIndex = 5; 97 this.lblFilterActive.Text = "Attention! The data is read-only, because a filter is active."; 98 this.lblFilterActive.Visible = false; 99 // 100 // viewShortcutListView 101 // 102 this.viewShortcutListView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 103 | System.Windows.Forms.AnchorStyles.Left) 93 104 | System.Windows.Forms.AnchorStyles.Right))); 94 105 this.viewShortcutListView.Caption = "ViewShortcutCollection View"; … … 104 115 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); 105 116 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 117 this.Controls.Add(this.lblFilterActive); 106 118 this.Controls.Add(this.viewShortcutListView); 107 119 this.Controls.Add(this.undoButton); … … 111 123 this.Size = new System.Drawing.Size(838, 449); 112 124 this.ResumeLayout(false); 125 this.PerformLayout(); 113 126 114 127 } … … 121 134 private System.Windows.Forms.ToolTip toolTip; 122 135 private ViewShortcutListView viewShortcutListView; 136 private System.Windows.Forms.Label lblFilterActive; 123 137 124 138 }
Note: See TracChangeset
for help on using the changeset viewer.