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
- EUCJPEncoding.cs
- ValidationSummary.cs
- MetadataItem_Static.cs
- ValidationEventArgs.cs
- StatusBarPanelClickEvent.cs
- Int32CollectionConverter.cs
- HwndSourceKeyboardInputSite.cs
- DoubleLinkList.cs
- CodeRegionDirective.cs
- RadioButtonAutomationPeer.cs
- mediapermission.cs
- FixedPosition.cs
- PointAnimationUsingKeyFrames.cs
- PagesSection.cs
- FileRecordSequence.cs
- GridViewEditEventArgs.cs
- MessageAction.cs
- Serializer.cs
- FileDialogPermission.cs
- Canonicalizers.cs
- Effect.cs
- TemplateContentLoader.cs
- ToolStripSplitButton.cs
- TreeNodeCollectionEditorDialog.cs
- OdbcFactory.cs
- Visual.cs
- HashUtility.cs
- WmfPlaceableFileHeader.cs
- CompilerGlobalScopeAttribute.cs
- ListItemCollection.cs
- DataAdapter.cs
- MeshGeometry3D.cs
- Application.cs
- Rfc2898DeriveBytes.cs
- GlyphsSerializer.cs
- WindowsTokenRoleProvider.cs
- _NegotiateClient.cs
- GregorianCalendarHelper.cs
- serverconfig.cs
- TextTreeText.cs
- HitTestResult.cs
- XmlSchemaComplexContent.cs
- HostProtectionPermission.cs
- CellLabel.cs
- CollectionMarkupSerializer.cs
- TimeoutStream.cs
- TextEffectCollection.cs
- SetterBaseCollection.cs
- SafeNativeMethods.cs
- TraceSection.cs
- MessageEncodingBindingElement.cs
- ImageDesigner.cs
- Rule.cs
- DataGridColumnCollection.cs
- validationstate.cs
- HostUtils.cs
- SQLMembershipProvider.cs
- DropAnimation.xaml.cs
- Nodes.cs
- Merger.cs
- InputLanguageProfileNotifySink.cs
- BackgroundWorker.cs
- BuiltInPermissionSets.cs
- HelpInfo.cs
- System.Data.OracleClient_BID.cs
- XpsFontSerializationService.cs
- AccessibilityHelperForVista.cs
- ItemMap.cs
- PackWebResponse.cs
- ValidationHelpers.cs
- UrlPropertyAttribute.cs
- MouseButton.cs
- XmlDataProvider.cs
- ByteAnimation.cs
- NamespaceCollection.cs
- TraceRecord.cs
- ElementHostAutomationPeer.cs
- PageOrientation.cs
- SectionVisual.cs
- TripleDES.cs
- SecurityTokenSerializer.cs
- CompilationLock.cs
- ParallelTimeline.cs
- ByteFacetDescriptionElement.cs
- ExpressionHelper.cs
- OpenFileDialog.cs
- HMACSHA512.cs
- DataList.cs
- HttpListenerException.cs
- LineBreak.cs
- TcpChannelHelper.cs
- Table.cs
- DLinqTableProvider.cs
- RectAnimation.cs
- SmtpTransport.cs
- MetaModel.cs
- CodeTypeParameterCollection.cs
- AssociativeAggregationOperator.cs
- ItemsPanelTemplate.cs
- RoutedEventConverter.cs