public CellChangedEventArgs(Position i_CellPosition, CheckersGameBoard.eCellMode i_CellMode) { if (!Enum.IsDefined(typeof(CheckersGameBoard.eCellMode), i_CellMode)) { throw new ArgumentOutOfRangeException("i_CellMode"); } CellPosition = i_CellPosition; NewCellMode = i_CellMode; }