Code:
/ DotNET / DotNET / 8.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; ////// /// public ColorMap() { oldColor = new Color(); newColor = new Color(); } ////// Initializes a new instance of the ///class. /// /// /// public Color OldColor { get { return oldColor; } set { oldColor = value; } } ////// Specifies the existing ///to be /// converted. /// /// /// 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./// Specifes the new ///to which to convert. ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- EventDriven.cs
- CornerRadiusConverter.cs
- Sql8ConformanceChecker.cs
- MaskInputRejectedEventArgs.cs
- TextRunTypographyProperties.cs
- ColorMap.cs
- HttpContext.cs
- RegisteredExpandoAttribute.cs
- SubMenuStyleCollection.cs
- SimpleMailWebEventProvider.cs
- DelegateOutArgument.cs
- IsolatedStorageException.cs
- InputLanguageCollection.cs
- ConversionHelper.cs
- DrawingContextDrawingContextWalker.cs
- CodeExporter.cs
- _NetworkingPerfCounters.cs
- Stopwatch.cs
- AttachmentCollection.cs
- OutputBuffer.cs
- EntityDataSource.cs
- PathFigureCollection.cs
- TrustLevel.cs
- TraceContextRecord.cs
- ColorMap.cs
- DataGridLinkButton.cs
- InternalConfigEventArgs.cs
- TextEditorContextMenu.cs
- CodeArrayIndexerExpression.cs
- NegotiateStream.cs
- TokenDescriptor.cs
- SettingsPropertyCollection.cs
- IncrementalCompileAnalyzer.cs
- OdbcEnvironment.cs
- Automation.cs
- __Filters.cs
- AttachInfo.cs
- WpfSharedXamlSchemaContext.cs
- DataGridViewRowPostPaintEventArgs.cs
- DesignerGeometryHelper.cs
- StackBuilderSink.cs
- StringValueSerializer.cs
- HttpResponseHeader.cs
- SspiHelper.cs
- Overlapped.cs
- TypedDataSetSchemaImporterExtensionFx35.cs
- Debug.cs
- AutomationProperties.cs
- ComponentCommands.cs
- MemoryPressure.cs
- RoutingUtilities.cs
- StructuredProperty.cs
- HostSecurityManager.cs
- VersionedStream.cs
- DoubleStorage.cs
- RestHandlerFactory.cs
- WebSysDefaultValueAttribute.cs
- WebServiceFault.cs
- StreamGeometry.cs
- FloaterBaseParaClient.cs
- ToolBarPanel.cs
- __FastResourceComparer.cs
- DetailsViewRowCollection.cs
- TreeNodeBindingDepthConverter.cs
- QilChoice.cs
- DrawingServices.cs
- ComponentRenameEvent.cs
- FileUtil.cs
- SequenceNumber.cs
- TextDecorationCollection.cs
- ExpressionList.cs
- CompositeActivityCodeGenerator.cs
- PenLineJoinValidation.cs
- MenuCommand.cs
- RoutedEventArgs.cs
- TypeDelegator.cs
- DataGridViewCheckBoxColumn.cs
- CalendarDataBindingHandler.cs
- LinqDataSourceDisposeEventArgs.cs
- WpfWebRequestHelper.cs
- InfoCardTrace.cs
- SmtpNegotiateAuthenticationModule.cs
- ResourceSet.cs
- DataGridViewDataErrorEventArgs.cs
- SqlDataSourceCommandEventArgs.cs
- QilTargetType.cs
- MulticastNotSupportedException.cs
- ReadOnlyHierarchicalDataSource.cs
- IncomingWebResponseContext.cs
- StringAnimationBase.cs
- HashHelpers.cs
- CodeGenHelper.cs
- InputScopeNameConverter.cs
- XmlArrayItemAttributes.cs
- TableLayoutStyleCollection.cs
- SolidBrush.cs
- BufferAllocator.cs
- DebugViewWriter.cs
- ResourceFallbackManager.cs
- CallbackException.cs