Free cookie consent management tool by TermsFeed Policy Generator

source: branches/2817-BinPackingSpeedup/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/Netron.Diagramming.Core-3.0.2672.12446/Declarations/Delegates/Delegates.cs

Last change on this file was 4068, checked in by swagner, 14 years ago

Sorted usings and removed unused usings in entire solution (#1094)

File size: 3.1 KB
Line 
1using System;
2
3namespace Netron.Diagramming.Core {
4  // ----------------------------------------------------------------------
5  /// <summary>
6  /// Delegate for the current page changed event.
7  /// </summary>
8  /// <param name="sender">object</param>
9  /// <param name="e">PageEventArgs</param>
10  // ----------------------------------------------------------------------
11  public delegate void CurrentPageChangedEventHandler(
12      object sender,
13      PageEventArgs e);
14
15  // ----------------------------------------------------------------------
16  /// <summary>
17  /// Delegate for the page added event.
18  /// </summary>
19  /// <param name="sender">object</param>
20  /// <param name="e">PageEventArgs</param>
21  // ----------------------------------------------------------------------
22  public delegate void PageAddedEventHandler(
23      object sender,
24      PageEventArgs e);
25
26  // ----------------------------------------------------------------------
27  /// <summary>
28  ///  Delegate for the PaintStyleChanged event.
29  /// </summary>
30  /// <param name="sender">object</param>
31  /// <param name="e">PaintStyleChangedEventArgs</param>
32  // ----------------------------------------------------------------------
33  public delegate void PaintStyleChangedEventHandler(object sender,
34          PaintStyleChangedEventArgs e);
35
36  // ----------------------------------------------------------------------
37  /// <summary>
38  ///  Delegate for the TextStyleChanged event.
39  /// </summary>
40  /// <param name="sender">object</param>
41  /// <param name="e">TextStyleChangedEventArgs</param>
42  // ----------------------------------------------------------------------
43  public delegate void TextStyleChangedEventHandler(object sender,
44          TextStyleChangedEventArgs e);
45
46  // ----------------------------------------------------------------------
47  /// <summary>
48  /// Information regarding the addition of a new item to the collection.
49  /// </summary>
50  // ----------------------------------------------------------------------
51  public delegate void CollectionAddInfo<T>(
52  CollectionBase<T> collection,
53  EntityEventArgs e);
54
55  // ----------------------------------------------------------------------
56  /// <summary>
57  /// Information regarding the removal of an item from the collection.
58  /// </summary>
59  // ----------------------------------------------------------------------
60  public delegate void CollectionRemoveInfo<T>(
61  CollectionBase<T> collection,
62  EntityEventArgs e);
63
64  // ----------------------------------------------------------------------
65  /// <summary>
66  /// Information regarding the removal/clear of all items from the
67  /// collection.
68  /// </summary>
69  // ----------------------------------------------------------------------
70  public delegate void CollectionClearInfo<T>(
71  CollectionBase<T> collection,
72  EventArgs e);
73
74  // ----------------------------------------------------------------------
75  /// <summary>
76  /// The info coming with the show-props event.
77  /// </summary>
78  // ----------------------------------------------------------------------
79  public delegate void PropertiesInfo(object ent);
80
81}
Note: See TracBrowser for help on using the repository browser.