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
- DesigntimeLicenseContext.cs
- AnnotationResourceChangedEventArgs.cs
- RequestQueue.cs
- ServiceReference.cs
- FormatterServices.cs
- ComponentChangingEvent.cs
- DataListItemCollection.cs
- Label.cs
- RemoveFromCollection.cs
- ColumnResizeUndoUnit.cs
- DelegatedStream.cs
- ThreadStateException.cs
- EditorPartCollection.cs
- TextProperties.cs
- DataGridHeaderBorder.cs
- TypeNameConverter.cs
- CqlBlock.cs
- DataSourceXmlSerializer.cs
- ToolStripSplitButton.cs
- ExpandCollapsePattern.cs
- ToolStripRenderEventArgs.cs
- JournalEntryListConverter.cs
- XamlSerializer.cs
- WebServiceClientProxyGenerator.cs
- DataGridViewRowHeaderCell.cs
- Helpers.cs
- ProfileModule.cs
- ModulesEntry.cs
- TypeTypeConverter.cs
- DescendantQuery.cs
- DataTableReaderListener.cs
- PageSettings.cs
- ViewStateModeByIdAttribute.cs
- FolderBrowserDialog.cs
- LocationInfo.cs
- InvalidWMPVersionException.cs
- SafeCertificateStore.cs
- CultureTable.cs
- SqlDataSourceSelectingEventArgs.cs
- MsmqHostedTransportManager.cs
- EdmItemCollection.cs
- ThreadAbortException.cs
- XslAstAnalyzer.cs
- SymbolUsageManager.cs
- NumericExpr.cs
- SvcMapFileLoader.cs
- Calendar.cs
- securestring.cs
- PinnedBufferMemoryStream.cs
- ResourceDescriptionAttribute.cs
- RegistrationServices.cs
- OwnerDrawPropertyBag.cs
- ObjectView.cs
- SimpleHandlerBuildProvider.cs
- ObjectTypeMapping.cs
- HitTestWithGeometryDrawingContextWalker.cs
- ExpressionBindingCollection.cs
- DesignerInterfaces.cs
- SqlUtil.cs
- XmlSchemaSimpleContentRestriction.cs
- ScriptRegistrationManager.cs
- CustomTokenProvider.cs
- EntityModelSchemaGenerator.cs
- XmlValidatingReader.cs
- WebPartConnectionsDisconnectVerb.cs
- DataGridViewCellParsingEventArgs.cs
- QueryContext.cs
- PropertyEntry.cs
- MailMessageEventArgs.cs
- DataContractSerializerOperationFormatter.cs
- PriorityBinding.cs
- MergeFilterQuery.cs
- IResourceProvider.cs
- DoubleStorage.cs
- DynamicControlParameter.cs
- FormViewDesigner.cs
- TransformConverter.cs
- WebControl.cs
- RunWorkerCompletedEventArgs.cs
- DataProviderNameConverter.cs
- HostSecurityManager.cs
- SuspendDesigner.cs
- IsolatedStorageFilePermission.cs
- SchemaConstraints.cs
- StylusEditingBehavior.cs
- ImageSource.cs
- AdornedElementPlaceholder.cs
- BitmapEffectRenderDataResource.cs
- RegexCaptureCollection.cs
- HttpPostServerProtocol.cs
- ContextMenuAutomationPeer.cs
- DockAndAnchorLayout.cs
- WebBrowserDocumentCompletedEventHandler.cs
- QuerySafeNavigator.cs
- DataGridState.cs
- EntityUtil.cs
- DirectoryInfo.cs
- HitTestFilterBehavior.cs
- ProviderCollection.cs
- TimeSpanSecondsOrInfiniteConverter.cs