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
- CompilerTypeWithParams.cs
- ByteKeyFrameCollection.cs
- dtdvalidator.cs
- UpdateProgress.cs
- MDIClient.cs
- SafeRightsManagementHandle.cs
- TdsParameterSetter.cs
- NgenServicingAttributes.cs
- XslTransformFileEditor.cs
- XmlSchemaComplexType.cs
- SemanticKeyElement.cs
- InputScopeManager.cs
- RoutedEventArgs.cs
- ListBoxChrome.cs
- CompilerErrorCollection.cs
- DataSourceView.cs
- SqlRemoveConstantOrderBy.cs
- bindurihelper.cs
- HtmlContainerControl.cs
- SessionParameter.cs
- QualifierSet.cs
- SynchronizedInputPattern.cs
- GridPattern.cs
- Baml2006ReaderSettings.cs
- TypeInitializationException.cs
- Parser.cs
- ValueProviderWrapper.cs
- ThrowHelper.cs
- PreloadedPackages.cs
- StatusBarAutomationPeer.cs
- ZipPackage.cs
- HighlightVisual.cs
- AssociationType.cs
- MSAAWinEventWrap.cs
- NativeMethods.cs
- FindProgressChangedEventArgs.cs
- TextEditorDragDrop.cs
- FileSystemEventArgs.cs
- ApplicationContext.cs
- AspNetPartialTrustHelpers.cs
- NodeLabelEditEvent.cs
- VarRefManager.cs
- TrustSection.cs
- CharEnumerator.cs
- DeferrableContentConverter.cs
- HttpHandlerAction.cs
- FixUp.cs
- PeerObject.cs
- Timeline.cs
- MetadataSerializer.cs
- SQLConvert.cs
- KnownColorTable.cs
- FormatVersion.cs
- LinkGrep.cs
- Context.cs
- DoubleCollectionValueSerializer.cs
- ExpressionDumper.cs
- ManifestResourceInfo.cs
- TreeNodeSelectionProcessor.cs
- ExtendedPropertyInfo.cs
- XPathDocumentNavigator.cs
- XmlStringTable.cs
- RightsManagementPermission.cs
- SoapExtensionStream.cs
- WebEventCodes.cs
- LayoutUtils.cs
- XmlWriterDelegator.cs
- ActiveXHost.cs
- ImageBrush.cs
- PointLight.cs
- SpeechAudioFormatInfo.cs
- SatelliteContractVersionAttribute.cs
- PathSegment.cs
- IteratorDescriptor.cs
- XmlAttributeOverrides.cs
- BindingMAnagerBase.cs
- UnsafeCollabNativeMethods.cs
- RTLAwareMessageBox.cs
- SecurityKeyType.cs
- HuffModule.cs
- PagesChangedEventArgs.cs
- NameScopePropertyAttribute.cs
- SqlTriggerAttribute.cs
- Int32Storage.cs
- KerberosSecurityTokenAuthenticator.cs
- TraceSection.cs
- ListBoxAutomationPeer.cs
- XmlUtf8RawTextWriter.cs
- CatalogZoneDesigner.cs
- AssemblyContextControlItem.cs
- Latin1Encoding.cs
- TemplateKey.cs
- ToolstripProfessionalRenderer.cs
- Popup.cs
- NullPackagingPolicy.cs
- ContextMenuStripGroup.cs
- NativeMethods.cs
- XmlCustomFormatter.cs
- embossbitmapeffect.cs
- ClientConvert.cs