using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SmartCoalApplication.Core { /// /// 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; } } }