Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/23/09 10:19:25 (15 years ago)
Author:
mstoeger
Message:

Moved X-Axis settings from model to model.XAxis. Fixed UpdateLayout and invalidating. #498

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Visualization/3.2/CanvasUI.cs

    r1530 r1880  
    1818    }
    1919
     20    public event PaintEventHandler BeforePaint;
     21
    2022    protected override void OnPaint(PaintEventArgs pe) {
    2123      try {
     24        FireBeforePaint(pe);
     25
    2226        Graphics g = pe.Graphics;
    2327
     
    3842      base.OnResize(e);
    3943    }
     44
     45    private void FireBeforePaint(PaintEventArgs e) {
     46      if (BeforePaint != null)
     47        BeforePaint(this, e);
     48    }
    4049  }
    4150}
Note: See TracChangeset for help on using the changeset viewer.