public void SaveSettings()
 {
     currentSettings.verboseLog       = cbVerboseLog.Checked;
     currentSettings.ShowSwitchMsg    = cbShowSwitchMsg.Checked;
     currentSettings.UseFallbackRule  = cbUseFallbackRule.Checked;
     currentSettings.FallBackViewMode = ViewModeswitcherSettings.StringToViewMode(cmbFBViewMode.Text);
     currentSettings.DisableLBGlobaly = cbDisableLBGlobaly.Checked;
     currentSettings.LBBlackLevel     = numBlackLevel.Value;
     currentSettings.fboverScan       = (int)fbosUpDown.Value;
     currentSettings.SaveSettings();
 }
Esempio n. 2
0
        public void SaveSettings()
        {
            currentSettings.verboseLog       = cbVerboseLog.Checked;
            currentSettings.ShowSwitchMsg    = cbShowSwitchMsg.Checked;
            currentSettings.UseFallbackRule  = cbUseFallbackRule.Checked;
            currentSettings.FallBackViewMode = ViewModeswitcherSettings.StringToViewMode(cmbFBViewMode.Text);
            currentSettings.DisableLBGlobaly = cbDisableLBGlobaly.Checked;
            currentSettings.LBMaxBlackLevel  = numBlackLevel.Value;
            currentSettings.LBMinBlackLevel  = numBlackLevAve.Value;

            currentSettings.fboverScan            = (int)fbosUpDown.Value;
            currentSettings.DetectWidthPercent    = numBBdetWidth.Value;
            currentSettings.DetectHeightPercent   = numBBdetHeight.Value;
            currentSettings.LBMaxCropLimitPercent = numMaxCropLimit.Value;
            currentSettings.LBSymLimitPercent     = numSymLimit.Value;
            currentSettings.LBdetectInterval      = (int)numDetectInterval.Value;

            currentSettings.disableForVideo   = cbDisableForVideo.Checked;
            currentSettings.disableLBForVideo = cbDisableLBForVideo.Checked;

            currentSettings.SaveSettings();
        }