Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Core / MS / Internal / Ink / InkSerializedFormat / StrokeDescriptor.cs / 1 / StrokeDescriptor.cs
//------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------- using System; // Primary root namespace for TabletPC/Ink/Handwriting/Recognition in .NET namespace MS.Internal.Ink.InkSerializedFormat { internal class StrokeDescriptor { private System.Collections.Generic.List_strokeDescriptor = new System.Collections.Generic.List (); private uint _Size = 0; public uint Size { get { return _Size; } set { _Size = value; } } public System.Collections.Generic.List Template { get { return _strokeDescriptor; } } public StrokeDescriptor() { } public bool IsEqual(StrokeDescriptor strd) { // If the no of templates in them are different return false if( _strokeDescriptor.Count != strd.Template.Count ) return false; // Compare each tag in the template. If any one of them is different, return false; for( int i = 0; i < _strokeDescriptor.Count; i++ ) if( _strokeDescriptor[i] != strd.Template[i] ) return false; return true; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- BaseComponentEditor.cs
- TypographyProperties.cs
- WebPartEditorCancelVerb.cs
- MD5CryptoServiceProvider.cs
- WsdlBuildProvider.cs
- BamlResourceContent.cs
- Base64Encoder.cs
- PrinterUnitConvert.cs
- InternalConfigEventArgs.cs
- RoutedUICommand.cs
- LambdaCompiler.ControlFlow.cs
- RangeExpression.cs
- TransformGroup.cs
- XAMLParseException.cs
- MiniParameterInfo.cs
- Membership.cs
- FlowDocument.cs
- ResourceDictionaryCollection.cs
- XmlWhitespace.cs
- SqlCommandBuilder.cs
- IIS7UserPrincipal.cs
- SafeArrayRankMismatchException.cs
- SqlVersion.cs
- InvalidProgramException.cs
- ConfigXmlText.cs
- TransformerConfigurationWizardBase.cs
- arabicshape.cs
- DefaultAssemblyResolver.cs
- SamlAdvice.cs
- DecimalAnimation.cs
- UriWriter.cs
- SystemWebSectionGroup.cs
- DbConnectionInternal.cs
- BamlBinaryReader.cs
- XmlSubtreeReader.cs
- DiffuseMaterial.cs
- XamlTypeMapper.cs
- DependencySource.cs
- RelatedCurrencyManager.cs
- EntityViewGenerator.cs
- BuildDependencySet.cs
- GlyphInfoList.cs
- NamespaceList.cs
- XsltArgumentList.cs
- TraceHwndHost.cs
- figurelengthconverter.cs
- ControlAdapter.cs
- RegularExpressionValidator.cs
- ChineseLunisolarCalendar.cs
- XmlStreamStore.cs
- ToolBarButton.cs
- CanExecuteRoutedEventArgs.cs
- CustomPeerResolverService.cs
- QilPatternVisitor.cs
- SqlConnection.cs
- SqlParameterizer.cs
- ColorPalette.cs
- DataTrigger.cs
- ContainerUtilities.cs
- ProfileSettingsCollection.cs
- oledbmetadatacolumnnames.cs
- codemethodreferenceexpression.cs
- BitmapEffectInput.cs
- Brush.cs
- LastQueryOperator.cs
- ISAPIRuntime.cs
- ProfileSection.cs
- Keywords.cs
- DesignTimeVisibleAttribute.cs
- HttpListenerPrefixCollection.cs
- BitmapEffectDrawingContextState.cs
- DataGridViewCellCancelEventArgs.cs
- RSAOAEPKeyExchangeDeformatter.cs
- OpenTypeLayout.cs
- ThousandthOfEmRealPoints.cs
- QilCloneVisitor.cs
- TimeSpanValidatorAttribute.cs
- RubberbandSelector.cs
- MD5CryptoServiceProvider.cs
- IODescriptionAttribute.cs
- FileDialogCustomPlaces.cs
- SingleAnimation.cs
- ProviderUtil.cs
- TemplateBindingExpression.cs
- HitTestFilterBehavior.cs
- ResourceProviderFactory.cs
- FlowLayoutPanelDesigner.cs
- OdbcConnectionOpen.cs
- Panel.cs
- ChangePassword.cs
- TextEffectCollection.cs
- InfoCardTraceRecord.cs
- BamlLocalizabilityResolver.cs
- FontEmbeddingManager.cs
- PageRequestManager.cs
- UniqueEventHelper.cs
- ComplexType.cs
- DetailsView.cs
- DataSourceProvider.cs
- ParameterElement.cs