Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / CommonUI / System / Drawing / Advanced / ColorMap.cs / 1 / ColorMap.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
/*************************************************************************\
*
* Copyright (c) 1998-1999, Microsoft Corp. All Rights Reserved.
*
* Module Name:
*
* ColorMap.cs
*
* Abstract:
*
* Native GDI+ ColorMap structure.
*
* Revision History:
*
* 1/25/2k [....]
* Created it.
*
\**************************************************************************/
namespace System.Drawing.Imaging {
using System.Diagnostics;
using System;
using System.Drawing;
///
///
/// Defines a map for converting colors.
///
public sealed class ColorMap {
Color oldColor;
Color newColor;
///
///
///
/// Initializes a new instance of the class.
///
///
public ColorMap() {
oldColor = new Color();
newColor = new Color();
}
///
///
///
/// Specifies the existing to be
/// converted.
///
///
public Color OldColor {
get { return oldColor; }
set { oldColor = value; }
}
///
///
///
/// Specifes the new to which to convert.
///
///
public Color NewColor {
get { return newColor; }
set { newColor = value; }
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- MonitoringDescriptionAttribute.cs
- RelatedPropertyManager.cs
- OracleConnectionFactory.cs
- SpecularMaterial.cs
- smtppermission.cs
- RegexRunner.cs
- SessionEndingCancelEventArgs.cs
- ContainerUIElement3D.cs
- CorrelationService.cs
- StyleSheetRefUrlEditor.cs
- ListViewGroupItemCollection.cs
- ValidationHelpers.cs
- SimpleHandlerFactory.cs
- GuidTagList.cs
- GCHandleCookieTable.cs
- TextContainerChangeEventArgs.cs
- SHA384.cs
- ConfigUtil.cs
- QueryCursorEventArgs.cs
- InfiniteIntConverter.cs
- DocumentReferenceCollection.cs
- InstanceKeyView.cs
- JsonCollectionDataContract.cs
- XmlTypeMapping.cs
- XpsManager.cs
- MsmqIntegrationChannelListener.cs
- ComPlusDiagnosticTraceRecords.cs
- AttributeUsageAttribute.cs
- TextCharacters.cs
- ServiceInstallComponent.cs
- BufferedGraphics.cs
- WriteableBitmap.cs
- ListParagraph.cs
- SimpleRecyclingCache.cs
- StopRoutingHandler.cs
- ClientSection.cs
- ScrollViewer.cs
- XmlSchemaRedefine.cs
- AuthStoreRoleProvider.cs
- TableItemProviderWrapper.cs
- XamlUtilities.cs
- ScriptComponentDescriptor.cs
- ConfigXmlElement.cs
- StaticExtension.cs
- SchemaExporter.cs
- UidPropertyAttribute.cs
- NativeMethods.cs
- TripleDES.cs
- AttributeCollection.cs
- UIElement3D.cs
- WebBrowserProgressChangedEventHandler.cs
- RequestSecurityTokenForGetBrowserToken.cs
- X509ChainElement.cs
- ValueUtilsSmi.cs
- OracleRowUpdatingEventArgs.cs
- wgx_sdk_version.cs
- __FastResourceComparer.cs
- XPathChildIterator.cs
- SiteMapNodeCollection.cs
- RuntimeHelpers.cs
- CustomTypeDescriptor.cs
- UrlMapping.cs
- NumberSubstitution.cs
- FilteredXmlReader.cs
- PublishLicense.cs
- BindingMAnagerBase.cs
- ScrollItemPatternIdentifiers.cs
- ColorMap.cs
- SpeechUI.cs
- FileRecordSequence.cs
- RootBrowserWindowAutomationPeer.cs
- ToolTip.cs
- LoadedEvent.cs
- UnsupportedPolicyOptionsException.cs
- SamlAction.cs
- ShadowGlyph.cs
- ProfilePropertyNameValidator.cs
- cache.cs
- DataGridHeaderBorder.cs
- ToolStripPanel.cs
- DrawingAttributeSerializer.cs
- ConstructorNeedsTagAttribute.cs
- MediaEntryAttribute.cs
- CookielessHelper.cs
- DataGridViewBindingCompleteEventArgs.cs
- Context.cs
- EntityDescriptor.cs
- FormViewUpdatedEventArgs.cs
- PrivilegedConfigurationManager.cs
- SecurityTokenException.cs
- RegistryDataKey.cs
- ActivityScheduledRecord.cs
- SBCSCodePageEncoding.cs
- CurrentChangingEventArgs.cs
- CollectionsUtil.cs
- InvalidEnumArgumentException.cs
- DataSourceViewSchemaConverter.cs
- UnhandledExceptionEventArgs.cs
- WebBrowsableAttribute.cs
- EntityDataSourceViewSchema.cs