Free cookie consent management tool by TermsFeed Policy Generator

source: trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/Netron.Diagramming.Core-3.0.2672.12446/Declarations/Delegates/Delegates.cs @ 3757

Last change on this file since 3757 was 2768, checked in by mkommend, 14 years ago

added solution folders and sources for the netron library (ticket #867)

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