Changeset 1880 for trunk/sources/HeuristicLab.Visualization/3.2/CanvasUI.cs
- Timestamp:
- 05/23/09 10:19:25 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Visualization/3.2/CanvasUI.cs
r1530 r1880 18 18 } 19 19 20 public event PaintEventHandler BeforePaint; 21 20 22 protected override void OnPaint(PaintEventArgs pe) { 21 23 try { 24 FireBeforePaint(pe); 25 22 26 Graphics g = pe.Graphics; 23 27 … … 38 42 base.OnResize(e); 39 43 } 44 45 private void FireBeforePaint(PaintEventArgs e) { 46 if (BeforePaint != null) 47 BeforePaint(this, e); 48 } 40 49 } 41 50 }
Note: See TracChangeset
for help on using the changeset viewer.