コード例 #1
0
ファイル: FormSetting.cs プロジェクト: zhaohq90/PasteEx
        private void Get()
        {
            chkNeedShiftKey.Checked     = RightMenu.NeedShiftKey();
            chkFastNeedShiftKey.Checked = RightMenu.NeedShiftKey(RightMenu.FastSetting.True);

            Properties.Settings.Default.Reload();

            txtAutoExtRule.Text      = Properties.Settings.Default.autoExtRule;
            chkAutoExtSwitch.Checked = Properties.Settings.Default.autoExtSwitch;
            txtAutoExtRule.Enabled   = chkAutoExtSwitch.Checked;

            txtQuickPasteExHotkey.Text = Properties.Settings.Default.pasteHotkey;

            txtFileNamePattern.Text = Properties.Settings.Default.fileNamePattern;

            chkAutoSave.Checked        = Properties.Settings.Default.monitorAutoSaveEnabled;
            txtAutoSaveFolderPath.Text = Properties.Settings.Default.monitorAutoSavePath;
        }
コード例 #2
0
ファイル: FormSetting.cs プロジェクト: v2535v/PasteEx
        private void Get()
        {
            chkNeedShiftKey.Checked     = RightMenu.NeedShiftKey();
            chkFastNeedShiftKey.Checked = RightMenu.NeedShiftKey(RightMenu.FastSetting.True);

            Properties.Settings.Default.Reload();

            txtAutoExtRule.Text      = Properties.Settings.Default.autoExtRule;
            chkAutoExtSwitch.Checked = Properties.Settings.Default.autoExtSwitch;
            txtAutoExtRule.Enabled   = chkAutoExtSwitch.Checked;

            txtQuickPasteExHotkey.Text          = Properties.Settings.Default.pasteHotkey;
            chkQuickPasteExHotkeyWinKey.Checked = Properties.Settings.Default.pasteHotkey.Contains("Win");

            // File Name Pattern
            txtFileNamePattern.Text = Properties.Settings.Default.fileNamePattern;

            // Auto Save Path
            chkAutoSave.Checked        = Properties.Settings.Default.monitorAutoSaveEnabled;
            txtAutoSaveFolderPath.Text = Properties.Settings.Default.monitorAutoSavePath;

            // Default Startup Monitor Mode
            chkDefaultStartupMonitorMode.Checked = Properties.Settings.Default.DefaultStartupMonitorModeEnabled;

            // Application Filter
            txtAppFilterInclude.Text = Properties.Settings.Default.ApplicationFilterInclude;
            txtAppFilterExclude.Text = Properties.Settings.Default.ApplicationFilterExclude;
            if (Properties.Settings.Default.ApplicationFilterState == AppFilterStateEnum.Include.ToString())
            {
                radInclude.Checked = true;
                radExclude.Checked = false;
            }
            else
            {
                radInclude.Checked = false;
                radExclude.Checked = true;
            }
        }