Changeset 6176 for branches/histogram/HeuristicLab.Analysis.Views/3.3
- Timestamp:
- 05/10/11 15:25:05 (13 years ago)
- Location:
- branches/histogram/HeuristicLab.Analysis.Views/3.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/histogram/HeuristicLab.Analysis.Views/3.3/DataTableView.Designer.cs
r6010 r6176 89 89 series1.Name = "Default"; 90 90 this.chart.Series.Add(series1); 91 this.chart.ShowPropertiesContextMenuItem = true;92 91 this.chart.Size = new System.Drawing.Size(359, 248); 93 92 this.chart.TabIndex = 3; … … 97 96 title1.Text = "Title"; 98 97 this.chart.Titles.Add(title1); 99 this.chart.PropertiesClicked += new System.EventHandler(this.chart_PropertiesClicked);100 98 this.chart.CustomizeLegend += new System.EventHandler<System.Windows.Forms.DataVisualization.Charting.CustomizeLegendEventArgs>(this.chart_CustomizeLegend); 101 99 this.chart.MouseDown += new System.Windows.Forms.MouseEventHandler(this.chart_MouseDown); -
branches/histogram/HeuristicLab.Analysis.Views/3.3/DataTableView.cs
r6115 r6176 36 36 [View("DataTable View")] 37 37 [Content(typeof(DataTable), true)] 38 public partial class DataTableView : NamedItemView {38 public partial class DataTableView : NamedItemView, IConfigureableView { 39 39 protected List<Series> invisibleSeries; 40 40 protected Dictionary<IObservableList<double>, DataRow> valuesRowsTable; … … 144 144 base.SetEnabledStateOfControls(); 145 145 chart.Enabled = Content != null; 146 } 147 148 public void ShowConfiguration() { 149 if (Content != null) { 150 DataTableVisualPropertiesDialog dialog = new DataTableVisualPropertiesDialog(Content); 151 dialog.ShowDialog(); 152 } else MessageBox.Show("Nothing to configure."); 146 153 } 147 154 … … 503 510 } 504 511 } 505 private void chart_PropertiesClicked(object sender, EventArgs e) {506 DataTableVisualPropertiesDialog dialog = new DataTableVisualPropertiesDialog(Content);507 dialog.ShowDialog();508 }509 512 #endregion 510 513
Note: See TracChangeset
for help on using the changeset viewer.