Click here to Skip to main content
Click here to Skip to main content
Articles » Languages » C# » Utilities » Downloads
 
Add your own
alternative version

ResxWriter: Generating .resx files from an Excel spreadsheet

, 17 Nov 2006
Generate .resx files from an Excel spreadsheet; fully customizable.
resxwriter.zip
resxwriter_src.zip
ApplicationCleaner
ApplicationCleaner.csproj.user
Private Folder.ico
Setup
Setup.vdproj
UI
Images
BANNER with logo.png
BANNER.BMP
INTERNET.ICO
Key
key.snk
License
License.rtf
SampleData
sample.xls
UI.csproj.user
UninstallLauncher
uninstall.ICO
UninstallLauncher.csproj.user
/*
 * 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.

License

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

Share

About the Author

Patrick Bounaix
Web Developer
United States United States
- philosophy
- french
- computer science

| Advertise | Privacy | Mobile
Web03 | 2.8.140827.1 | Last Updated 17 Nov 2006
Article Copyright 2005 by Patrick Bounaix
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid