|
/*
* Patrick Bounaix
* www.L0g1c4L.com
*
* See AssemblyInfo.cs
* for License Information
* */
#region using
using System;
using System.Drawing;
using System.Xml.Serialization;
using System.Windows.Forms;
#endregion
namespace L0g1c4L.ResxWriter.UI
{
/// <summary>
/// Summary description for ClsSettings.
/// </summary>
[Serializable]
public class ClsSettings
{
#region Private...
#region Properties
private readonly string m_settingsPath = Application.UserAppDataPath + @"\ResxWriter.xml";
private ClsLanguageCollection m_langCollection = new ClsLanguageCollection();
private Size m_size = new Size(250, 175);
private Point m_location = new Point(200, 200);
private string m_controlColumnName;
private string m_sheetName;
#endregion
#endregion
#region Public...
#region Constructor
/// <summary>
/// Default Constructor.
/// </summary>
public ClsSettings()
{
}
#endregion
#region Properties
/// <summary>
/// Path used for Settings file.
/// </summary>
public string SettingsPath
{
get {return this.m_settingsPath;}
}
/// <summary>
/// Collection of languages used for application.
/// </summary>
public ClsLanguageCollection LanguageCollection
{
get {return this.m_langCollection;}
}
/// <summary>
/// The user-defined size of
/// the main form.
/// (250, 175 is default.)
/// </summary>
public Size FormSize
{
get {return this.m_size;}
set {this.m_size = value;}
}
/// <summary>
/// The user-defined location
/// of the main form.
/// (200, 200 is default.)
/// </summary>
public Point FormLocation
{
get {return this.m_location;}
set {this.m_location = value;}
}
/// <summary>
/// The user-defined name for
/// the control column.
/// ("ControlName" is default.)
/// </summary>
public string ControlColumnName
{
get {return this.m_controlColumnName;}
set {this.m_controlColumnName = value;}
}
/// <summary>
/// The name of the sheet used for translation.
/// </summary>
public string SheetName
{
get {return this.m_sheetName;}
set {this.m_sheetName = value;}
}
#endregion
#endregion
}
}
|
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.
This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.
A list of licenses authors might use can be found here