Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Core / System / Windows / Media / Animation / ResolvedKeyFrameEntry.cs / 1 / ResolvedKeyFrameEntry.cs
//------------------------------------------------------------------------------ // Microsoft Windows Client Platform // Copyright (c) Microsoft Corporation // // File: ResolvedKeyFrameEntry.cs //----------------------------------------------------------------------------- namespace System.Windows.Media.Animation { internal struct ResolvedKeyFrameEntry : IComparable { internal Int32 _originalKeyFrameIndex; internal TimeSpan _resolvedKeyTime; public Int32 CompareTo(object other) { ResolvedKeyFrameEntry otherEntry = (ResolvedKeyFrameEntry)other; if (otherEntry._resolvedKeyTime > _resolvedKeyTime) { return -1; } else if (otherEntry._resolvedKeyTime < _resolvedKeyTime) { return 1; } else { if (otherEntry._originalKeyFrameIndex > _originalKeyFrameIndex) { return -1; } else if (otherEntry._originalKeyFrameIndex < _originalKeyFrameIndex) { return 1; } else { return 0; } } } } } // 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
- DataGridItemEventArgs.cs
- DataBinder.cs
- BindingList.cs
- DbConnectionFactory.cs
- KnownTypesHelper.cs
- PreProcessInputEventArgs.cs
- ToolStripCustomTypeDescriptor.cs
- WebPartZoneCollection.cs
- PartialCachingAttribute.cs
- OdbcConnectionFactory.cs
- UserInitiatedRoutedEventPermission.cs
- DataListItemCollection.cs
- SelectionItemPattern.cs
- QueryCursorEventArgs.cs
- MembershipValidatePasswordEventArgs.cs
- RegistrySecurity.cs
- CompareValidator.cs
- ItemsControl.cs
- OrCondition.cs
- IssuedTokenParametersElement.cs
- SchemaNamespaceManager.cs
- HGlobalSafeHandle.cs
- WindowPattern.cs
- HttpFileCollectionWrapper.cs
- TimerElapsedEvenArgs.cs
- GridView.cs
- SelectedDatesCollection.cs
- ReaderWriterLock.cs
- PropertyCollection.cs
- ServiceSecurityAuditElement.cs
- ResourcePermissionBaseEntry.cs
- ScrollViewer.cs
- ClientReliableChannelBinder.cs
- StateMachineWorkflowInstance.cs
- Argument.cs
- TimeSpanMinutesOrInfiniteConverter.cs
- RubberbandSelector.cs
- ScrollProperties.cs
- HttpAsyncResult.cs
- _UriTypeConverter.cs
- TraceEventCache.cs
- UntypedNullExpression.cs
- ToolTipService.cs
- Image.cs
- SpeechSynthesizer.cs
- DecoderFallback.cs
- MetadataArtifactLoader.cs
- RadioButtonList.cs
- QilLoop.cs
- TableLayoutPanel.cs
- BaseTemplateParser.cs
- GroupItemAutomationPeer.cs
- GridViewUpdateEventArgs.cs
- ListViewItem.cs
- UnmanagedBitmapWrapper.cs
- KeyboardDevice.cs
- SoapAttributeAttribute.cs
- StdValidatorsAndConverters.cs
- SharedMemory.cs
- GridViewSelectEventArgs.cs
- TextTreeTextBlock.cs
- LayoutSettings.cs
- ListView.cs
- DataGridViewCellValueEventArgs.cs
- Setter.cs
- TemplateParser.cs
- SoapSchemaImporter.cs
- EntityCollection.cs
- UpdatePanelTrigger.cs
- SoapAttributeAttribute.cs
- LinearQuaternionKeyFrame.cs
- InputBindingCollection.cs
- WinEventWrap.cs
- XmlDocument.cs
- StackOverflowException.cs
- CachedBitmap.cs
- SystemInfo.cs
- TrustSection.cs
- Mutex.cs
- ConstraintManager.cs
- IBuiltInEvidence.cs
- JsonReaderDelegator.cs
- HttpProfileBase.cs
- DataSourceCacheDurationConverter.cs
- WSSecureConversationDec2005.cs
- UpdateTranslator.cs
- ModelProperty.cs
- PeerApplicationLaunchInfo.cs
- SecurityResources.cs
- TextPointerBase.cs
- FlowLayoutSettings.cs
- ComponentSerializationService.cs
- SmtpFailedRecipientException.cs
- ContentElement.cs
- WorkflowInlining.cs
- CompensatableTransactionScopeActivityDesigner.cs
- AlignmentYValidation.cs
- AstNode.cs
- WebBrowsableAttribute.cs
- VisualStyleRenderer.cs