Changeset 15039


Ignore:
Timestamp:
06/20/17 09:44:17 (2 years ago)
Author:
pfleck
Message:

#2694: merged r14369 from trunk to stable

Location:
stable
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • stable

  • stable/HeuristicLab.Visualization.ChartControlsExtensions/3.3/EnhancedChart.cs

    r14670 r15039  
    2828namespace HeuristicLab.Visualization.ChartControlsExtensions {
    2929  public partial class EnhancedChart : Chart {
     30
    3031    private ImageExportDialog exportDialog;
     32
     33    private ImageExportDialog ExportDialog {
     34      get { return exportDialog ?? (exportDialog = new ImageExportDialog(this)); }
     35    }
    3136
    3237    public EnhancedChart()
    3338      : base() {
    3439      InitializeComponent();
    35       exportDialog = new ImageExportDialog(this);
    3640      EnableDoubleClickResetsZoom = true;
    3741      EnableMiddleClickPanning = true;
     
    166170
    167171    private void exportToolStripMenuItem_Click(object sender, EventArgs e) {
    168       exportDialog.ShowDialog();
     172      ExportDialog.ShowDialog();
    169173    }
    170174
Note: See TracChangeset for help on using the changeset viewer.