protected override void WindowLoaded(object sender, RoutedEventArgs e) { flipper.Add(ProgressBox); flipper.Add(selectFilesGroup); flipper.Add(LocationGrid); flipper.Add(restoreDoneLabel); flipper.SwitchControl(ProgressBox); restoreProgress.IsIndeterminate = true; restore = (RestoreProgramHandler)program_handler; base.WindowLoaded(sender, e); }
private void Window_Loaded(object sender, RoutedEventArgs e) { restore = new RestoreProgramHandler(setupDone,archive); restoreProgress.IsIndeterminate = true; restore.RunWorkerAsync(); }