Beispiel #1
0
 protected override void OnCurrentPageChanged()
 {
     base.OnCurrentPageChanged();
     if (CurrentPage is ScannerPage)
     {
         settingsPage.UpdateSettings();
         scannerPage.ResumeScanning();
         SettingsArchiver.ArchiveSettings(settings);
     }
     else
     {
         scannerPage.PauseScanning();
     }
 }
Beispiel #2
0
 public void PauseScanning() => scannerPage.PauseScanning();