private void Window_Loaded(object sender, RoutedEventArgs e) { if (MultithreadingEnabled) { MainBackgroundWorker.RunWorkerAsync(); } }
protected virtual void WorkerWindowShown(object sender, EventArgs e) { if (Action != default) { MainBackgroundWorker.RunWorkerAsync(Action); } }