Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

User Settings Applied

, 5 Sep 2013 CPOL
Simplifying the .NET User Configuration for Windows Forms and WPF
usersettingsapplied.zip
Configuration
Properties
ConfigurationConsoleDemo
Properties
ConfigurationWindows
Properties
ConfigurationWindowsDemo
App.ico
Properties
ConfigurationWindowsForms
Properties
ConfigurationWindowsFormsDemo
App.ico
ConfigurationWindowsFormsDemo.csproj.user
Properties
usersettingsapplied_scourecode.zip
Configuration2010.csproj.user
ConfigurationWindows2010.csproj.user
App.ico
ConfigurationWindowsDemo2010.csproj.user
App.ico
UserSettingsApplied_v1.1.0.zip
bin
Release
Itenso.Configuration.dll
Itenso.Configuration.Windows.dll
Itenso.Configuration.WindowsForms.dll
obj
Debug
TempPE
Release
TempPE
obj
Debug
TempPE
Release
TempPE
bin
Release
obj
Debug
TempPE
Release
TempPE
App.ico
obj
Debug
TempPE
Release
TempPE
bin
Release
obj
Debug
TempPE
Release
TempPE
App.ico
obj
Debug
TempPE
Release
TempPE
UserSettingsApplied_v1.2.0.zip
Itenso.Configuration.dll
Itenso.Configuration.Windows.dll
Itenso.Configuration.WindowsForms.dll
App.ico
App.ico
// -- FILE ------------------------------------------------------------------
// name       : SettingCollectorCancelEventArgs.cs
// created    : Jani Giannoudis - 2008.05.11
// language   : c#
// environment: .NET 2.0
// --------------------------------------------------------------------------
using System;
using System.ComponentModel;

namespace Itenso.Configuration
{

	// ------------------------------------------------------------------------
	public delegate void SettingCollectorCancelEventHandler( object sender, SettingCollectorCancelEventArgs e );

	// ------------------------------------------------------------------------
	public class SettingCollectorCancelEventArgs : CancelEventArgs
	{

		// ----------------------------------------------------------------------
		public SettingCollectorCancelEventArgs( object element ) :
			this( element, false )
		{
		} // SettingCollectorCancelEventArgs

		// ----------------------------------------------------------------------
		public SettingCollectorCancelEventArgs( object element, bool cancel ) :
			base( cancel )
		{
			if ( element == null )
			{
				throw new ArgumentNullException( "element" );
			}

			this.element = element;
		} // SettingCollectorCancelEventArgs

		// ----------------------------------------------------------------------
		public object Element
		{
			get { return element; }
		} // Element

		// ----------------------------------------------------------------------
		// members
		private readonly object element;

	} // class SettingCollectorCancelEventArgs

} // namespace Itenso.Configuration
// -- EOF -------------------------------------------------------------------

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, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Jani Giannoudis
Software Developer (Senior)
Switzerland Switzerland
Jani is Co-founder of Meerazo.com, a free service which allows to share resources like locations, things, persons and their services in a cooperating group of people.

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.141223.1 | Last Updated 5 Sep 2013
Article Copyright 2008 by Jani Giannoudis
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid