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
- ScriptManager.cs
- CompleteWizardStep.cs
- ConfigPathUtility.cs
- WebPartAuthorizationEventArgs.cs
- AppDomainGrammarProxy.cs
- DtrList.cs
- RoamingStoreFile.cs
- ActivityFunc.cs
- SystemTcpConnection.cs
- X509ThumbprintKeyIdentifierClause.cs
- SmiContext.cs
- Brush.cs
- HashSetDebugView.cs
- DocumentSchemaValidator.cs
- XamlToRtfWriter.cs
- RtfNavigator.cs
- ContextBase.cs
- BitmapEncoder.cs
- XmlSchemaSimpleTypeUnion.cs
- Property.cs
- GeneralTransform2DTo3D.cs
- DataGridViewComboBoxEditingControl.cs
- Compensation.cs
- SQLInt32Storage.cs
- FacetEnabledSchemaElement.cs
- XmlParserContext.cs
- PatternMatcher.cs
- RayMeshGeometry3DHitTestResult.cs
- ProviderConnectionPointCollection.cs
- RoutingEndpointTrait.cs
- HttpServerUtilityWrapper.cs
- ResXResourceSet.cs
- MemoryMappedView.cs
- util.cs
- ReadOnlyHierarchicalDataSourceView.cs
- QilChoice.cs
- SecurityException.cs
- ExpressionLexer.cs
- DataControlPagerLinkButton.cs
- DataGridCommandEventArgs.cs
- WindowsMenu.cs
- IODescriptionAttribute.cs
- ExtentKey.cs
- DebugView.cs
- X509CertificateChain.cs
- ResourceAssociationSet.cs
- ObfuscationAttribute.cs
- QuaternionAnimationBase.cs
- InvalidCastException.cs
- XmlSchemaParticle.cs
- EventLogReader.cs
- OdbcHandle.cs
- BindingBase.cs
- OracleNumber.cs
- XmlSerializerFormatAttribute.cs
- RelativeSource.cs
- ApplicationSecurityManager.cs
- WinFormsSpinner.cs
- LinearGradientBrush.cs
- XmlSignatureProperties.cs
- CalendarModeChangedEventArgs.cs
- UIElementHelper.cs
- DirectoryLocalQuery.cs
- SiteMapDataSource.cs
- FontSource.cs
- BaseTemplateCodeDomTreeGenerator.cs
- PlaceHolder.cs
- AssociationSetMetadata.cs
- IntSecurity.cs
- BridgeDataReader.cs
- KerberosReceiverSecurityToken.cs
- DragEventArgs.cs
- VisualCollection.cs
- GiveFeedbackEventArgs.cs
- BitmapScalingModeValidation.cs
- AdapterUtil.cs
- mediapermission.cs
- NotifyInputEventArgs.cs
- TableParagraph.cs
- XmlSchemaSimpleTypeUnion.cs
- EdmConstants.cs
- Receive.cs
- NTAccount.cs
- MultiTrigger.cs
- ValidatorUtils.cs
- FacetEnabledSchemaElement.cs
- SqlTypeConverter.cs
- FrameworkTemplate.cs
- PaintEvent.cs
- StickyNoteHelper.cs
- ExtensionSurface.cs
- WindowsListViewSubItem.cs
- Root.cs
- PointCollectionValueSerializer.cs
- SqlDataSourceQueryConverter.cs
- XmlWrappingReader.cs
- MenuAutomationPeer.cs
- ParamArrayAttribute.cs
- ActiveXHost.cs
- UniqueConstraint.cs