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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- activationcontext.cs
- SharedStream.cs
- DataBindingHandlerAttribute.cs
- TableCellCollection.cs
- Update.cs
- DataGridViewRowStateChangedEventArgs.cs
- ArgumentException.cs
- DataContext.cs
- DataColumn.cs
- RoutedPropertyChangedEventArgs.cs
- PageContentAsyncResult.cs
- AdornerPresentationContext.cs
- MembershipValidatePasswordEventArgs.cs
- SafeFileMappingHandle.cs
- NavigationWindow.cs
- KeyValueConfigurationCollection.cs
- FilterQueryOptionExpression.cs
- FixedStringLookup.cs
- ClockController.cs
- CodeDomConfigurationHandler.cs
- TemplateEditingService.cs
- IndicCharClassifier.cs
- ConfigurationSettings.cs
- DesignerCategoryAttribute.cs
- HtmlTextBoxAdapter.cs
- QuadraticBezierSegment.cs
- CaretElement.cs
- BitStack.cs
- indexingfiltermarshaler.cs
- FolderLevelBuildProvider.cs
- PasswordRecovery.cs
- SqlRemoveConstantOrderBy.cs
- RotateTransform3D.cs
- mda.cs
- GenericPrincipal.cs
- XamlRtfConverter.cs
- GrammarBuilderRuleRef.cs
- PowerStatus.cs
- DetailsViewInsertedEventArgs.cs
- SafeUserTokenHandle.cs
- LocalValueEnumerator.cs
- WindowsTitleBar.cs
- ProtectedConfigurationProviderCollection.cs
- ChooseAction.cs
- WindowsPen.cs
- TrackBar.cs
- ConnectionPoint.cs
- ObjectManager.cs
- PropertyTabChangedEvent.cs
- BitmapInitialize.cs
- FontUnit.cs
- LineSegment.cs
- MetaTableHelper.cs
- TrackingMemoryStreamFactory.cs
- Screen.cs
- ShimAsPublicXamlType.cs
- Rotation3DKeyFrameCollection.cs
- HtmlInputControl.cs
- DbDataRecord.cs
- Delay.cs
- NavigationProperty.cs
- RecordManager.cs
- DataGridRowClipboardEventArgs.cs
- Message.cs
- WsdlBuildProvider.cs
- TimestampInformation.cs
- DemultiplexingDispatchMessageFormatter.cs
- Setter.cs
- UserNameSecurityToken.cs
- EntityContainerAssociationSetEnd.cs
- ObjectDisposedException.cs
- AnalyzedTree.cs
- TabControl.cs
- OleDbConnectionInternal.cs
- autovalidator.cs
- LineInfo.cs
- Persist.cs
- IfAction.cs
- MemoryPressure.cs
- ArithmeticException.cs
- TextBounds.cs
- EntityChangedParams.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- HttpModuleActionCollection.cs
- DataSourceHelper.cs
- TableLayoutPanel.cs
- HttpModulesSection.cs
- NetTcpBindingCollectionElement.cs
- EditCommandColumn.cs
- InvalidWMPVersionException.cs
- OleDbEnumerator.cs
- KeyValuePairs.cs
- ListBindingConverter.cs
- FieldNameLookup.cs
- AttributeQuery.cs
- Marshal.cs
- XmlCountingReader.cs
- DocumentScope.cs
- DataGridViewColumnDesignTimeVisibleAttribute.cs
- CatalogPartChrome.cs