- Timestamp:
- 06/25/12 14:06:11 (12 years ago)
- Location:
- trunk/sources/HeuristicLab.Problems.DataAnalysis.Views/3.4/Regression
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis.Views/3.4/Regression/RegressionSolutionErrorCharacteristicsCurveView.Designer.cs
r7967 r8102 30 30 this.label1 = new System.Windows.Forms.Label(); 31 31 this.cmbSamples = new System.Windows.Forms.ComboBox(); 32 this.LegendToolTip = new System.Windows.Forms.ToolTip(this.components); 32 33 ((System.ComponentModel.ISupportInitialize)(this.chart)).BeginInit(); 33 34 this.SuspendLayout(); … … 36 37 // 37 38 this.chart.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 38 | System.Windows.Forms.AnchorStyles.Left)39 | System.Windows.Forms.AnchorStyles.Right)));39 | System.Windows.Forms.AnchorStyles.Left) 40 | System.Windows.Forms.AnchorStyles.Right))); 40 41 chartArea1.Name = "ChartArea1"; 41 42 this.chart.ChartAreas.Add(chartArea1); … … 73 74 // RegressionSolutionErrorCharacteristicsCurveView 74 75 // 75 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);76 76 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit; 77 77 this.Controls.Add(this.label1); … … 91 91 protected System.Windows.Forms.Label label1; 92 92 protected System.Windows.Forms.ComboBox cmbSamples; 93 private System.Windows.Forms.ToolTip LegendToolTip; 93 94 } 94 95 } -
trunk/sources/HeuristicLab.Problems.DataAnalysis.Views/3.4/Regression/RegressionSolutionErrorCharacteristicsCurveView.cs
r8100 r8102 241 241 private void chart_MouseMove(object sender, MouseEventArgs e) { 242 242 HitTestResult result = chart.HitTest(e.X, e.Y); 243 if (result.ChartElementType == ChartElementType.LegendItem) 243 if (result.ChartElementType == ChartElementType.LegendItem) { 244 244 Cursor = Cursors.Hand; 245 else 245 LegendToolTip.SetToolTip(chart, "Double-click to open model"); 246 } else { 246 247 Cursor = Cursors.Default; 248 LegendToolTip.RemoveAll(); 249 } 247 250 } 248 251 }
Note: See TracChangeset
for help on using the changeset viewer.