Little Registry Cleaner/Settings.cs

(开头部分) 4KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

namespace Little_Registry_Cleaner.Properties {
    
    
    // This class allows you to handle specific events on the settings class:
    //  The SettingChanging event is raised before a setting's value is changed.
    //  The PropertyChanged event is raised after a setting's value is changed.
    //  The SettingsLoaded event is raised after the setting values are loaded.
    //  The SettingsSaving event is raised before the setting values are saved.
    internal sealed partial class Settings {
        
        public Settings() {
            // // To add event handlers for saving and changing settings, uncomment the lines below:
            //
            // this.SettingChanging += this.SettingChangingEventHandler;
            //
            // this.SettingsSaving += this.SettingsSavingEventHandler;
            //
        }
        
        private void SettingChangingEventHandler(object sender, System.Configuration.SettingChangingEventArgs e) {
            // Add code to handle the SettingChangingEvent event here.
        }
        
        private void SettingsSavingEventHandler(object sender, System.ComponentModel.CancelEventArgs e) {
            // Add code to handle the SettingsSaving event here.
        }

        [global::System.Configuration.UserScopedSettingAttribute()]
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.Configuration.SettingsSerializeAs(System.Configuration.SettingsSerializeAs.Binary)]
        public global::Little_Registry_Cleaner.ExcludeList.ExcludeArray arrayExcludeList
        {
            get
            {
                if (((global::Little_Registry_Cleaner.ExcludeList.ExcludeArray)(this["arrayExcludeList"])) == null)
                    ((this["arrayExcludeList"])) = new Little_Registry_Cleaner.ExcludeList.ExcludeArray();

                return ((global::Little_Registry_Cleaner.ExcludeList.ExcludeArray)(this["arrayExcludeList"]));
            }
            set
            {
                this["arrayExcludeList"] = value;
            }
        }

        [global::System.Configuration.UserScopedSettingAttribute()]
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public string strProgramSettingsDir
        {
            get
            {
                if ((bool)this["bPortableEdition"])
                    this["strProgramSettingsDir"] = global::System.Environment.CurrentDirectory;
                else
                    this["strProgramSettingsDir"] = string.Format("{0}\\Little Registry Cleaner", global::System.Environment.GetFolderPath(global::System.Environment.SpecialFolder.CommonProgramFiles));

                if (!global::System.IO.Directory.Exists(this["strProgramSettingsDir"] as string))
                    global::System.IO.Directory.CreateDirectory(this["strProgramSettingsDir"] as string);

                return this["strProgramSettingsDir"] as string;
后面还有 49 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。