public void New() { if (Type == Types.None) { throw new InvalidOperationException("You have to setup the GameSession type"); } id++; if (Status != SessionStatus.NotPlaying) { End(); } history.Clear(); game_time = TimeSpan.Zero; timer.SynchronizingObject = SynchronizingObject; EnableTimer = true; }