コード例 #1
0
        public Start(Wizard sb)
        {
            InitializeComponent();

            Tree.Model = SectionModel.CreateSectionModel();

            _scanBase = sb;

            TextBoxBackups.Text = Settings.Default.OptionsBackupDir;

            CheckBoxLog.IsChecked                 = Settings.Default.registryCleanerOptionsLog;
            CheckBoxShowLog.IsChecked             = Settings.Default.registryCleanerOptionsShowLog;
            CheckBoxAutoRescan.IsChecked          = Settings.Default.registryCleanerOptionsAutoRescan;
            CheckBoxDelBackup.IsChecked           = Settings.Default.registryCleanerOptionsDelBackup;
            CheckBoxIgnoreRemMedia.IsChecked      = Settings.Default.registryCleanerOptionsRemMedia;
            CheckBoxShowErrors.IsChecked          = Settings.Default.registryCleanerOptionsShowErrors;
            CheckBoxDeleteOnBackupError.IsEnabled = !CheckBoxShowErrors.IsChecked.Value;
            CheckBoxDeleteOnBackupError.IsChecked = Settings.Default.registryCleanerOptionsDeleteOnBackupError;
            CheckBoxAutoRepair.IsChecked          = Settings.Default.registryCleanerOptionsAutoRepair;
            CheckBoxAutoExit.IsChecked            = Settings.Default.registryCleanerOptionsAutoExit;

            ExcludeArray = Settings.Default.ArrayExcludeList;
            RestoreFiles = new ObservableCollection <RestoreFile>();

            PopulateListView();
        }
コード例 #2
0
        public Start(Wizard sb)
        {
            InitializeComponent();

            _scanBase = sb;

            Tree.Model = SectionModel.CreateSectionModel();
            Tree.ExpandAll();

            RadioButtonPerm.IsChecked    = Settings.Default.privacyCleanerDeletePerm;
            RadioButtonMove.IsChecked    = Settings.Default.privacyCleanerDeleteRecBin;
            CheckBoxReadOnly.IsChecked   = Settings.Default.privacyCleanerIncReadOnlyFile;
            CheckBoxHidden.IsChecked     = Settings.Default.privacyCleanerIncHiddenFile;
            CheckBoxSystem.IsChecked     = Settings.Default.privacyCleanerIncSysFile;
            CheckBoxZeroByte.IsChecked   = Settings.Default.privacyCleanerInc0ByteFile;
            CheckBoxLogScan.IsChecked    = Settings.Default.privacyCleanerLog;
            CheckBoxDisplayLog.IsChecked = Settings.Default.privacyCleanerDisplayLog;
        }