public BonusesOverlayWindow(ExtenderSettings settings)
        {
            _settings = settings;

            InitializeComponent();

            Left = -10000;
            IsVisibleChanged += OnIsVisibleChanged;
        }
        public ExtenderRunner(ExtenderSettings settings)
        {
            _settings = settings;

            _dispatcher = new RunnerDispatcher();
            _dispatcher.Add(DispatcherItemId.BonusFish, RunBonusClicker, _settings.BonusDelay, false);
            _dispatcher.Add(DispatcherItemId.MainClick, RunEnemyClicker, _settings.AttackDelay, false);
            _dispatcher.Add(DispatcherItemId.FindGameWindow, FindGameWindow, 1000);
            _dispatcher.Add(DispatcherItemId.DelayWatcher, RunDelayWatcher, 1000);
            _dispatcher.Add(DispatcherItemId.WindowWatcher, RunWindowWatcher, 2000);
            _dispatcher.Add(DispatcherItemId.SaveSettings, SaveSettings, 2000);
        }
        public MainWindowViewModel()
        {
            RegisterForGameWindowChangedMessages();

            _settings = new ExtenderSettings();
            _extenderRunner = new ExtenderRunner(_settings);

            _bonusesOverlay = new BonusesOverlayWindow(_settings)
            {
                DataContext = new BonusOverlayViewModel(_settings)
            };

            SetStartStopLabel(false);
        }