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
- MenuItem.cs
- AssemblyInfo.cs
- UpdateProgress.cs
- FrameworkElement.cs
- CompiledRegexRunnerFactory.cs
- DispatchWrapper.cs
- Win32Native.cs
- GeometryHitTestResult.cs
- XmlTypeAttribute.cs
- CheckoutException.cs
- FrameworkPropertyMetadata.cs
- hwndwrapper.cs
- MethodToken.cs
- ToolStripLabel.cs
- RangeContentEnumerator.cs
- GridView.cs
- RegexReplacement.cs
- System.Data.OracleClient_BID.cs
- TemplateKey.cs
- StoreAnnotationsMap.cs
- EventProviderWriter.cs
- ConfigurationPropertyAttribute.cs
- ConfigurationLocationCollection.cs
- PropertyDescriptorCollection.cs
- TemplateField.cs
- FontDriver.cs
- AssemblyAssociatedContentFileAttribute.cs
- StoreContentChangedEventArgs.cs
- DataTableClearEvent.cs
- AppSettingsSection.cs
- formatstringdialog.cs
- TraceRecords.cs
- KeyValuePairs.cs
- Separator.cs
- AdornerPresentationContext.cs
- UnsafeNativeMethods.cs
- NativeMethodsOther.cs
- WorkflowServiceInstance.cs
- InputGestureCollection.cs
- AnnotationHelper.cs
- IteratorDescriptor.cs
- MergeFilterQuery.cs
- OperationContractAttribute.cs
- ListDataBindEventArgs.cs
- SqlServices.cs
- XmlUtf8RawTextWriter.cs
- COM2Enum.cs
- GeneralTransform3DGroup.cs
- HtmlHead.cs
- COM2Properties.cs
- Parameter.cs
- AssemblyHash.cs
- DataGridAutomationPeer.cs
- DocumentSequenceHighlightLayer.cs
- EventWaitHandle.cs
- DetailsViewDesigner.cs
- GroupItemAutomationPeer.cs
- GridViewColumnCollectionChangedEventArgs.cs
- TextRunCache.cs
- ProfileModule.cs
- EntityCommandCompilationException.cs
- GeometryConverter.cs
- SpeechSeg.cs
- CompilationLock.cs
- VersionedStream.cs
- OlePropertyStructs.cs
- ButtonField.cs
- HwndMouseInputProvider.cs
- AsyncPostBackTrigger.cs
- XMLDiffLoader.cs
- NoneExcludedImageIndexConverter.cs
- SrgsDocument.cs
- safex509handles.cs
- AspNetCompatibilityRequirementsMode.cs
- MethodExpr.cs
- DatagridviewDisplayedBandsData.cs
- SelectionGlyph.cs
- WebPartsPersonalizationAuthorization.cs
- DoubleConverter.cs
- Debugger.cs
- SingleObjectCollection.cs
- SyndicationItemFormatter.cs
- Volatile.cs
- EntityDataSourceSelectingEventArgs.cs
- Environment.cs
- XPathNavigator.cs
- Guid.cs
- SqlDataSourceFilteringEventArgs.cs
- DetailsViewModeEventArgs.cs
- PropertyValueUIItem.cs
- SqlMethodAttribute.cs
- BufferedGraphics.cs
- ValidationError.cs
- PrincipalPermissionMode.cs
- Pair.cs
- GetIndexBinder.cs
- SHA512.cs
- DesignerLabelAdapter.cs
- CodeTypeParameter.cs
- XmlSignificantWhitespace.cs