12345678910111213141516171819202122232425262728293031 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace SmartCoalApplication.Core
- {
- /// <summary>
- /// Declares an EventArgs type for an event that needs a single integer, interpreted
- /// as an index, as event information.
- /// </summary>
- public sealed class IndexEventArgs
- : EventArgs
- {
- int index;
- public int Index
- {
- get
- {
- return index;
- }
- }
- public IndexEventArgs(int i)
- {
- this.index = i;
- }
- }
- }
|