Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Core / System / Windows / Input / QueryCursorEventArgs.cs / 1 / QueryCursorEventArgs.cs
using System; namespace System.Windows.Input { ////// Provides data for the QueryCursor event. /// public class QueryCursorEventArgs : MouseEventArgs { ////// Initializes a new instance of the QueryCursorEventArgs class. /// /// /// The logical Mouse device associated with this event. /// /// /// The time when the input occured. /// public QueryCursorEventArgs(MouseDevice mouse, int timestamp) : base(mouse, timestamp) { } ////// Initializes a new instance of the QueryCursorEventArgs class. /// /// /// The logical Mouse device associated with this event. /// /// /// The time when the input occured. /// /// /// The stylus pointer that was involved with this event. /// public QueryCursorEventArgs(MouseDevice mouse, int timestamp, StylusDevice stylusDevice) : base(mouse, timestamp, stylusDevice) { } ////// The cursor to set. /// public Cursor Cursor { get {return _cursor;} set {_cursor = ((value == null) ? Cursors.None : value);} } ////// The mechanism used to call the type-specific handler on the /// target. /// /// /// The generic handler to call in a type-specific way. /// /// /// The target to call the handler on. /// protected override void InvokeEventHandler(Delegate genericHandler, object genericTarget) { QueryCursorEventHandler handler = (QueryCursorEventHandler) genericHandler; handler(genericTarget, this); } private Cursor _cursor; } } // 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
- Model3DGroup.cs
- HttpPostedFileWrapper.cs
- DbDataAdapter.cs
- WebPartConnectionsDisconnectVerb.cs
- CustomAttributeFormatException.cs
- ProfessionalColorTable.cs
- DataGridPreparingCellForEditEventArgs.cs
- TextTreeInsertUndoUnit.cs
- newitemfactory.cs
- WindowsAuthenticationEventArgs.cs
- ContractNamespaceAttribute.cs
- TdsParserHelperClasses.cs
- ProcessHostMapPath.cs
- Accessible.cs
- NativeMethods.cs
- ExecutedRoutedEventArgs.cs
- CryptoConfig.cs
- RemoteAsymmetricSignatureFormatter.cs
- VoiceChangeEventArgs.cs
- WorkflowMarkupSerializationException.cs
- StringFormat.cs
- GradientBrush.cs
- ResourceReferenceKeyNotFoundException.cs
- Missing.cs
- Journaling.cs
- SoundPlayer.cs
- FormViewInsertedEventArgs.cs
- DataGridColumnCollection.cs
- _NestedSingleAsyncResult.cs
- CuspData.cs
- IfAction.cs
- NativeObjectSecurity.cs
- ListControlDesigner.cs
- WsrmMessageInfo.cs
- PlainXmlWriter.cs
- Pen.cs
- SchemaElement.cs
- XmlSerializerAssemblyAttribute.cs
- ObfuscateAssemblyAttribute.cs
- CloseSequenceResponse.cs
- BitmapImage.cs
- VirtualPathUtility.cs
- FirstMatchCodeGroup.cs
- DataGridViewSelectedColumnCollection.cs
- PathParser.cs
- ListBoxItemAutomationPeer.cs
- BufferBuilder.cs
- StrongNameIdentityPermission.cs
- CodeSubDirectory.cs
- SQLByteStorage.cs
- Int32Rect.cs
- WebServiceReceive.cs
- DataControlFieldHeaderCell.cs
- ConversionContext.cs
- SchemaImporterExtension.cs
- HostProtectionPermission.cs
- EUCJPEncoding.cs
- ipaddressinformationcollection.cs
- SEHException.cs
- DefaultExpressionVisitor.cs
- LiteralControl.cs
- RankException.cs
- ResourceReferenceExpressionConverter.cs
- ChannelSinkStacks.cs
- BamlBinaryReader.cs
- FileDialog_Vista_Interop.cs
- PackageFilter.cs
- XPathNode.cs
- AsynchronousChannel.cs
- BinaryConverter.cs
- FaultFormatter.cs
- WsatExtendedInformation.cs
- WebSysDefaultValueAttribute.cs
- SessionIDManager.cs
- CompilerInfo.cs
- ProxyGenerator.cs
- StreamGeometry.cs
- ConfigurationValue.cs
- LocationReference.cs
- HotSpot.cs
- FragmentQueryKB.cs
- Oci.cs
- EntityDataSourceChangingEventArgs.cs
- OracleFactory.cs
- ArraySortHelper.cs
- SemanticAnalyzer.cs
- ProxyElement.cs
- ClientBuildManagerTypeDescriptionProviderBridge.cs
- SymbolTable.cs
- ResourceManager.cs
- OleDbTransaction.cs
- ClipboardProcessor.cs
- InfoCardProofToken.cs
- Internal.cs
- TextSegment.cs
- _DomainName.cs
- ResXResourceSet.cs
- X509SecurityTokenAuthenticator.cs
- Application.cs
- TypeConverterHelper.cs