|
// ******************************************************************
//
// If this code works it was written by:
// Henry Minute
// MamSoft / Manniff Computers
// © 2008 - 2008...
//
// if not, I have no idea who wrote it.
//
// ******************************************************************
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Text;
namespace CPZipStripper
{
internal sealed class CPZipStripperSettings : ApplicationSettingsBase
{
// If you used [ApplicationScopedSetting()] instead of [UserScopedSetting()],
// you would NOT be able to persist any data changes!
[UserScopedSetting()]
[SettingsSerializeAs(System.Configuration.SettingsSerializeAs.String)]
[DefaultSettingValue("notepad.exe")]
public string XmlEditor
{
get
{
return ((string)this["XmlEditor"]);
}
set
{
this["XmlEditor"] = value;
}
}
// If you used [ApplicationScopedSetting()] instead of [UserScopedSetting()],
// you would NOT be able to persist any data changes!
[UserScopedSetting()]
[SettingsSerializeAs(System.Configuration.SettingsSerializeAs.String)]
[DefaultSettingValue("false")]
public bool SetByUser
{
get
{
return (bool)this["SetByUser"];
}
set
{
this["SetByUser"] = value;
}
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
Retired Systems Admin, Programmer, Dogsbody.
Mainly on Systems for Local Government, Health Authorities,
Insurance Industry - (COBOL eeeeeeeugh).
Inventor of Synchronized Shopping.