private void ShootingRangeOnSubt(object sender, SubtEventArgs e)
 {
     if (_sessionsOngoing.ContainsKey(e.LaneNumber))
     {
         Session session = _sessionsOngoing[e.LaneNumber];
         session.CreateSubSession();
     }
 }
    public void ProcessSubtotalMessage(SubtotalMessage subtotalMessage)
    {
      SubtEventArgs e = new SubtEventArgs
      {
        LaneId = subtotalMessage.LaneId,
        LaneNumber = subtotalMessage.LaneNumber
      };

      OnSubt(e);
    }
 protected virtual void OnSubt(SubtEventArgs e)
 {
   EventHandler<SubtEventArgs> handler = Subt;
   if (handler != null) handler(this, e);
 }