Free cookie consent management tool by TermsFeed Policy Generator

Changeset 4094 for trunk


Ignore:
Timestamp:
07/23/10 18:20:42 (14 years ago)
Author:
mkommend
Message:

implemented first version of BoxPlotView (ticket #970)

Location:
trunk/sources/HeuristicLab.Optimization.Views/3.3
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Optimization.Views/3.3/HeuristicLab.Optimization.Views-3.3.csproj

    r4065 r4094  
    125125      <DependentUpon>BatchRunView.cs</DependentUpon>
    126126    </Compile>
     127    <Compile Include="RunCollectionBoxPlotView.cs">
     128      <SubType>UserControl</SubType>
     129    </Compile>
     130    <Compile Include="RunCollectionBoxPlotView.Designer.cs">
     131      <DependentUpon>RunCollectionBoxPlotView.cs</DependentUpon>
     132    </Compile>
    127133    <Compile Include="RunCollectionComparisonConstraintView.cs">
    128134      <SubType>UserControl</SubType>
  • trunk/sources/HeuristicLab.Optimization.Views/3.3/RunCollectionBubbleChartView.Designer.cs

    r4049 r4094  
    3838    }
    3939
    40       #region Component Designer generated code
     40    #region Component Designer generated code
    4141
    4242    /// <summary>
     
    196196      this.chart.TabIndex = 16;
    197197      this.chart.Text = "chart";
     198      this.chart.AxisViewChanged += new System.EventHandler<System.Windows.Forms.DataVisualization.Charting.ViewEventArgs>(this.chart_AxisViewChanged);
     199      this.chart.MouseDown += new System.Windows.Forms.MouseEventHandler(this.chart_MouseDown);
     200      this.chart.MouseMove += new System.Windows.Forms.MouseEventHandler(this.chart_MouseMove);
    198201      this.chart.MouseUp += new System.Windows.Forms.MouseEventHandler(this.chart_MouseUp);
    199       this.chart.MouseMove += new System.Windows.Forms.MouseEventHandler(this.chart_MouseMove);
    200       this.chart.MouseDown += new System.Windows.Forms.MouseEventHandler(this.chart_MouseDown);
    201       this.chart.AxisViewChanged += new System.EventHandler<System.Windows.Forms.DataVisualization.Charting.ViewEventArgs>(chart_AxisViewChanged);
    202202      //
    203203      // zoomButton
     
    253253      // colorDialog
    254254      //
     255      this.colorDialog.AllowFullOpen = false;
    255256      this.colorDialog.FullOpen = true;
    256257      //
     
    294295      this.ResumeLayout(false);
    295296      this.PerformLayout();
     297
    296298    }
    297299    #endregion
  • trunk/sources/HeuristicLab.Optimization.Views/3.3/RunCollectionBubbleChartView.cs

    r4068 r4094  
    7474      set { base.Content = value; }
    7575    }
    76 
    7776    public IStringConvertibleMatrix Matrix {
    7877      get { return this.Content; }
     
    8887      RegisterRunEvents(Content);
    8988    }
    90     protected virtual void RegisterRunEvents(IEnumerable<IRun> runs) {
    91       foreach (IRun run in runs)
    92         run.Changed += new EventHandler(run_Changed);
    93     }
    9489    protected override void DeregisterContentEvents() {
    9590      base.DeregisterContentEvents();
     
    10095      Content.CollectionReset -= new HeuristicLab.Collections.CollectionItemsChangedEventHandler<IRun>(Content_CollectionReset);
    10196      DeregisterRunEvents(Content);
     97    }
     98    protected virtual void RegisterRunEvents(IEnumerable<IRun> runs) {
     99      foreach (IRun run in runs)
     100        run.Changed += new EventHandler(run_Changed);
    102101    }
    103102    protected virtual void DeregisterRunEvents(IEnumerable<IRun> runs) {
Note: See TracChangeset for help on using the changeset viewer.