private void btnLoad_Click(object sender, RoutedEventArgs e)
        {
            _model = new Model();

            if (numcThreads.Value > 0)
            {
                if (_proxyWindow == null)
                {
                    _proxyWindow = new ProxyOptionWindow();
                }

                btnProxyOptions.IsEnabled = false;
                if (File.Exists("Log.log"))
                {
                    File.Delete("Log.log");
                }
                if (File.Exists("EasyLog.log"))
                {
                    File.Delete("EasyLog.log");
                }


                Task.Run(() => ControlWorker_Run());

                btnLoad.IsEnabled = false;
                lock (LogIO.locker) logging.Invoke(LogIO.mainLog, new Log()
                    {
                        Date = DateTime.Now, Method = "MainWindow", LogMessage = "Start check info", UserName = null
                    });

                _model.InitProxy((bool)cbApiProxy.IsChecked ? true : false, _proxyWindow.AllLinks); //List<strings>

                Task.Run(() => Load_Run());
            }
            else
            {
                MessageBox.Show("Количество потоков или аккаунтов \nв потоке не может быть меньше 1", "Ошибка!", MessageBoxButton.OK, MessageBoxImage.Error);
            }
        }
 private void btnProxyOptions_Click(object sender, RoutedEventArgs e)
 {
     _proxyWindow = new ProxyOptionWindow();
     _proxyWindow.Show();
 }