Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / wpf / src / Core / CSharp / System / Windows / Input / Stylus / StylusCollection.cs / 1 / StylusCollection.cs
//// Copyright (C) Microsoft Corporation. All rights reserved. // using System; using System.Windows; using System.Security; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Windows.Media; using SR=MS.Internal.PresentationCore.SR; using SRID=MS.Internal.PresentationCore.SRID; namespace System.Windows.Input { ///////////////////////////////////////////////////////////////////////// ////// Collection of the stylus devices that are available on the tablet. /// public class StylusDeviceCollection : ReadOnlyCollection{ ///////////////////////////////////////////////////////////////////// internal StylusDeviceCollection(StylusDevice[] styluses) : base(new List (styluses)) { } ///////////////////////////////////////////////////////////////////// /// /// Critical: calls SecurityCritical method stylusDevice.Dispose. /// [SecurityCritical] internal void Dispose() { foreach (StylusDevice stylusDevice in this.Items) { stylusDevice.Dispose(); } } ///////////////////////////////////////////////////////////////////// internal void AddStylusDevice(int index, StylusDevice stylusDevice) { base.Items.Insert(index, stylusDevice); // add it to our list. } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. //// Copyright (C) Microsoft Corporation. All rights reserved. // using System; using System.Windows; using System.Security; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Windows.Media; using SR=MS.Internal.PresentationCore.SR; using SRID=MS.Internal.PresentationCore.SRID; namespace System.Windows.Input { ///////////////////////////////////////////////////////////////////////// ////// Collection of the stylus devices that are available on the tablet. /// public class StylusDeviceCollection : ReadOnlyCollection{ ///////////////////////////////////////////////////////////////////// internal StylusDeviceCollection(StylusDevice[] styluses) : base(new List (styluses)) { } ///////////////////////////////////////////////////////////////////// /// /// Critical: calls SecurityCritical method stylusDevice.Dispose. /// [SecurityCritical] internal void Dispose() { foreach (StylusDevice stylusDevice in this.Items) { stylusDevice.Dispose(); } } ///////////////////////////////////////////////////////////////////// internal void AddStylusDevice(int index, StylusDevice stylusDevice) { base.Items.Insert(index, stylusDevice); // add it to our list. } } } // 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
- StringToken.cs
- DataColumn.cs
- ThemeInfoAttribute.cs
- WithStatement.cs
- CachingHintValidation.cs
- ClientUrlResolverWrapper.cs
- ActivationArguments.cs
- QueryNode.cs
- AssemblyBuilderData.cs
- XPathDocument.cs
- Border.cs
- BaseValidator.cs
- Cloud.cs
- Mappings.cs
- TextEditorParagraphs.cs
- EdmConstants.cs
- KnownTypesProvider.cs
- AccessibilityApplicationManager.cs
- FixUpCollection.cs
- ProxyWebPartConnectionCollection.cs
- AdornedElementPlaceholder.cs
- PreloadHost.cs
- Crc32.cs
- ClockGroup.cs
- MetadataProperty.cs
- BufferedReceiveElement.cs
- ActivationWorker.cs
- DynamicResourceExtension.cs
- ProtocolsConfigurationHandler.cs
- DataGridCell.cs
- WeakHashtable.cs
- SecurityDocument.cs
- ValueExpressions.cs
- StructuredProperty.cs
- FunctionImportMapping.cs
- EdmSchemaAttribute.cs
- HttpRuntime.cs
- CodeSubDirectory.cs
- ZipIOExtraFieldZip64Element.cs
- XmlSchemaSimpleTypeUnion.cs
- EntitySetBase.cs
- RectValueSerializer.cs
- OleDbDataAdapter.cs
- PageCache.cs
- LicenseException.cs
- DecoderNLS.cs
- XamlSerializationHelper.cs
- Expander.cs
- StringBuilder.cs
- SQLMoney.cs
- XPathNode.cs
- SafeNativeMethods.cs
- AnimationStorage.cs
- ImplicitInputBrush.cs
- WaitHandle.cs
- CLRBindingWorker.cs
- Renderer.cs
- FaultImportOptions.cs
- GeneralTransformCollection.cs
- InputLanguageProfileNotifySink.cs
- ReflectTypeDescriptionProvider.cs
- SoapSchemaExporter.cs
- ExpressionTextBoxAutomationPeer.cs
- RegexWriter.cs
- XmlNotation.cs
- TransformGroup.cs
- CounterCreationData.cs
- WindowsRichEditRange.cs
- HttpCacheVaryByContentEncodings.cs
- MemoryRecordBuffer.cs
- PolyLineSegment.cs
- ApplicationCommands.cs
- IconBitmapDecoder.cs
- IndependentlyAnimatedPropertyMetadata.cs
- PenContexts.cs
- _NtlmClient.cs
- TripleDESCryptoServiceProvider.cs
- PeerOutputChannel.cs
- Utils.cs
- MemoryRecordBuffer.cs
- HttpContext.cs
- TrackingServices.cs
- ToolStripRendererSwitcher.cs
- _Semaphore.cs
- SizeConverter.cs
- backend.cs
- ipaddressinformationcollection.cs
- GregorianCalendarHelper.cs
- SecurityPolicySection.cs
- GenerateHelper.cs
- InkPresenterAutomationPeer.cs
- DataGridViewTextBoxCell.cs
- ReflectPropertyDescriptor.cs
- RenderCapability.cs
- XPathSelfQuery.cs
- InputScopeNameConverter.cs
- FlowDocumentReaderAutomationPeer.cs
- TemplateBamlTreeBuilder.cs
- ComplexType.cs
- ElementHostAutomationPeer.cs