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
- UpdateException.cs
- MouseActionValueSerializer.cs
- SqlDeflator.cs
- ServicePoint.cs
- StreamGeometryContext.cs
- BlockUIContainer.cs
- StylusDownEventArgs.cs
- UserNamePasswordValidator.cs
- TypeForwardedToAttribute.cs
- StrokeCollectionDefaultValueFactory.cs
- RegexCaptureCollection.cs
- TrackBarRenderer.cs
- Collection.cs
- EmitterCache.cs
- ReliableInputConnection.cs
- WmlCalendarAdapter.cs
- MenuItem.cs
- DeobfuscatingStream.cs
- AssemblyInfo.cs
- EndPoint.cs
- MenuItem.cs
- DataGridViewComboBoxCell.cs
- TextBox.cs
- DbParameterCollectionHelper.cs
- DynamicMethod.cs
- PackUriHelper.cs
- counter.cs
- CryptoApi.cs
- UserControl.cs
- XmlMtomReader.cs
- EntityDataSourceDesignerHelper.cs
- DataObjectMethodAttribute.cs
- SqlConnectionHelper.cs
- TranslateTransform3D.cs
- X509Utils.cs
- Propagator.Evaluator.cs
- CacheRequest.cs
- StyleBamlTreeBuilder.cs
- Classification.cs
- ExpiredSecurityTokenException.cs
- GridViewColumnCollection.cs
- CodeTypeConstructor.cs
- XmlSerializableWriter.cs
- ChannelTokenTypeConverter.cs
- IssuedTokenServiceElement.cs
- SqlUdtInfo.cs
- AuthenticatedStream.cs
- RadioButtonPopupAdapter.cs
- WebPartAddingEventArgs.cs
- DateBoldEvent.cs
- CellQuery.cs
- DataGrid.cs
- DataGridDesigner.cs
- BackEase.cs
- PreservationFileWriter.cs
- PrivilegeNotHeldException.cs
- IIS7WorkerRequest.cs
- Style.cs
- State.cs
- EventPropertyMap.cs
- LocalizationParserHooks.cs
- SatelliteContractVersionAttribute.cs
- RepeatButton.cs
- PreloadedPackages.cs
- SynchronousChannelMergeEnumerator.cs
- EventMappingSettingsCollection.cs
- ProvidersHelper.cs
- MetadataImporterQuotas.cs
- SystemTcpStatistics.cs
- WindowsToolbarAsMenu.cs
- RootProfilePropertySettingsCollection.cs
- remotingproxy.cs
- RecognizedPhrase.cs
- CryptoHandle.cs
- COM2PictureConverter.cs
- Enum.cs
- Attribute.cs
- XmlNamespaceDeclarationsAttribute.cs
- LinearGradientBrush.cs
- MultiBinding.cs
- BindUriHelper.cs
- CreateUserWizardStep.cs
- Wildcard.cs
- PasswordPropertyTextAttribute.cs
- FileVersionInfo.cs
- DataGridViewSelectedCellCollection.cs
- XamlSerializationHelper.cs
- SymLanguageVendor.cs
- PaperSize.cs
- PropertyDescriptorCollection.cs
- PropertyNames.cs
- Rotation3DAnimationUsingKeyFrames.cs
- DataPagerCommandEventArgs.cs
- JsonUriDataContract.cs
- InsufficientMemoryException.cs
- ListItemCollection.cs
- DeclarationUpdate.cs
- Propagator.cs
- DataGridViewRow.cs
- CatalogPart.cs