Esempio n. 1
0
 public void StoreValues(Data data, string path)
 {
     ApplicationSettings.StoreValues(data, path + @"ApplicationSettings\");
     data.SetValue(@"" + path + @"AllowUserDefinedProfiles", AllowUserDefinedProfiles.ToString());
     data.SetValue(@"" + path + @"DisableAccountsTab", DisableAccountsTab.ToString());
     data.SetValue(@"" + path + @"DisableApplicationSettings", DisableApplicationSettings.ToString());
     data.SetValue(@"" + path + @"DisableDebugTab", DisableDebugTab.ToString());
     data.SetValue(@"" + path + @"DisableHistory", DisableHistory.ToString());
     data.SetValue(@"" + path + @"DisableLicenseExpirationReminder", DisableLicenseExpirationReminder.ToString());
     data.SetValue(@"" + path + @"DisablePrinterTab", DisablePrinterTab.ToString());
     data.SetValue(@"" + path + @"DisableProfileManagement", DisableProfileManagement.ToString());
     data.SetValue(@"" + path + @"DisableRssFeed", DisableRssFeed.ToString());
     data.SetValue(@"" + path + @"DisableTips", DisableTips.ToString());
     data.SetValue(@"" + path + @"DisableTitleTab", DisableTitleTab.ToString());
     data.SetValue(@"" + path + @"DisableUsageStatistics", DisableUsageStatistics.ToString());
     data.SetValue(@"" + path + @"HideLicenseTab", HideLicenseTab.ToString());
     data.SetValue(@"" + path + @"HidePdfArchitectInfo", HidePdfArchitectInfo.ToString());
     data.SetValue(@"" + path + @"LoadSharedAppSettings", LoadSharedAppSettings.ToString());
     data.SetValue(@"" + path + @"LoadSharedProfiles", LoadSharedProfiles.ToString());
 }
Esempio n. 2
0
        public override bool Equals(object o)
        {
            if (!(o is GpoSettings))
            {
                return(false);
            }
            GpoSettings v = o as GpoSettings;

            if (!ApplicationSettings.Equals(v.ApplicationSettings))
            {
                return(false);
            }
            if (!AllowUserDefinedProfiles.Equals(v.AllowUserDefinedProfiles))
            {
                return(false);
            }
            if (!DisableAccountsTab.Equals(v.DisableAccountsTab))
            {
                return(false);
            }
            if (!DisableApplicationSettings.Equals(v.DisableApplicationSettings))
            {
                return(false);
            }
            if (!DisableDebugTab.Equals(v.DisableDebugTab))
            {
                return(false);
            }
            if (!DisableHistory.Equals(v.DisableHistory))
            {
                return(false);
            }
            if (!DisableLicenseExpirationReminder.Equals(v.DisableLicenseExpirationReminder))
            {
                return(false);
            }
            if (!DisablePrinterTab.Equals(v.DisablePrinterTab))
            {
                return(false);
            }
            if (!DisableProfileManagement.Equals(v.DisableProfileManagement))
            {
                return(false);
            }
            if (!DisableRssFeed.Equals(v.DisableRssFeed))
            {
                return(false);
            }
            if (!DisableTips.Equals(v.DisableTips))
            {
                return(false);
            }
            if (!DisableTitleTab.Equals(v.DisableTitleTab))
            {
                return(false);
            }
            if (!DisableUsageStatistics.Equals(v.DisableUsageStatistics))
            {
                return(false);
            }
            if (!HideLicenseTab.Equals(v.HideLicenseTab))
            {
                return(false);
            }
            if (!HidePdfArchitectInfo.Equals(v.HidePdfArchitectInfo))
            {
                return(false);
            }
            if (!LoadSharedAppSettings.Equals(v.LoadSharedAppSettings))
            {
                return(false);
            }
            if (!LoadSharedProfiles.Equals(v.LoadSharedProfiles))
            {
                return(false);
            }
            return(true);
        }