public HistoryAverageComponent(LiveSplitState state)
 {
     Settings = new HistoryAverageComponentSettings()
     {
         CurrentState = state
     };
     Formatter          = new RegularTimeFormatter(Settings.Accuracy);
     InternalComponent  = new HistoryAverageTimeComponent(Settings, Formatter);
     state.OnSplit     += state_OnSplit;
     state.OnUndoSplit += state_OnUndoSplit;
     state.OnReset     += state_OnReset;
     CurrentState       = state;
     CurrentState.RunManuallyModified += CurrentState_RunModified;
     UpdateHistoryValue(state);
 }
 public HistoryAverageTimeComponent(HistoryAverageComponentSettings settings, RegularTimeFormatter formatter)
     : base(settings.Text1, TimeSpan.Zero, formatter)
 {
     Settings = settings;
 }