using System; namespace PaintDotNet { /// /// Declares an EventArgs type for an event that needs a single integer, interpreted /// as an index, as event information. /// public sealed class IndexEventArgs : EventArgs { int index; public int Index { get { return index; } } public IndexEventArgs(int i) { this.index = i; } } }