Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / QueryContinueDragEvent.cs / 1305376 / QueryContinueDragEvent.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.Windows.Forms { using System.Diagnostics; using System; using System.Drawing; using System.ComponentModel; using Microsoft.Win32; ////// /// [System.Runtime.InteropServices.ComVisible(true)] public class QueryContinueDragEventArgs : EventArgs { private readonly int keyState; private readonly bool escapePressed; private DragAction action; ////// Provides data for the ////// event. /// /// /// public QueryContinueDragEventArgs(int keyState, bool escapePressed, DragAction action) { this.keyState = keyState; this.escapePressed = escapePressed; this.action = action; } ////// Initializes a new instance of the ///class. /// /// /// public int KeyState { get { return keyState; } } ////// Gets a value indicating /// the current state of the SHIFT, CTRL, and ALT keys. /// ////// /// public bool EscapePressed { get { return escapePressed; } } ////// Gets a value indicating whether the user pressed the ESC key. /// ////// /// public DragAction Action { get { return action; } set { action = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// Gets /// or sets the status of a drag-and-drop operation. /// ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ExclusiveTcpListener.cs
- StringCollection.cs
- EntityDataSourceEntitySetNameItem.cs
- ContactManager.cs
- CustomErrorCollection.cs
- DesignTimeTemplateParser.cs
- TableRow.cs
- PointHitTestParameters.cs
- OleDbDataReader.cs
- XmlMtomWriter.cs
- Nullable.cs
- Token.cs
- FilterEventArgs.cs
- PersistenceProviderDirectory.cs
- TypeUtil.cs
- ClientSession.cs
- ToolCreatedEventArgs.cs
- X509UI.cs
- ETagAttribute.cs
- OdbcUtils.cs
- EditingCoordinator.cs
- WebControlAdapter.cs
- GridViewHeaderRowPresenterAutomationPeer.cs
- PasswordBox.cs
- PropertyChangeTracker.cs
- DataGridViewRow.cs
- PeerContact.cs
- SourceItem.cs
- DPCustomTypeDescriptor.cs
- VariableQuery.cs
- DocumentXmlWriter.cs
- XmlQualifiedNameTest.cs
- ReflectionUtil.cs
- safemediahandle.cs
- NavigatorOutput.cs
- MinimizableAttributeTypeConverter.cs
- MenuCommand.cs
- TreeView.cs
- EventTask.cs
- OverrideMode.cs
- JsonDeserializer.cs
- HierarchicalDataBoundControl.cs
- Hashtable.cs
- StringTraceRecord.cs
- RegexRunnerFactory.cs
- WindowsRebar.cs
- StaticSiteMapProvider.cs
- CryptoStream.cs
- Fx.cs
- MimeTypeMapper.cs
- WindowsSolidBrush.cs
- X509Certificate2.cs
- CodeDirectoryCompiler.cs
- ClosableStream.cs
- ButtonFieldBase.cs
- AssociationProvider.cs
- ParallelTimeline.cs
- ResolveMatchesMessage11.cs
- WebPartTracker.cs
- TransportDefaults.cs
- ProjectionPathBuilder.cs
- ResourceManager.cs
- RowBinding.cs
- TextEffect.cs
- InvalidPipelineStoreException.cs
- DataExpression.cs
- KeyInterop.cs
- DependencyPropertyChangedEventArgs.cs
- InheritanceAttribute.cs
- XmlNamespaceDeclarationsAttribute.cs
- EventItfInfo.cs
- HotCommands.cs
- ProfileSettingsCollection.cs
- MsmqIntegrationInputMessage.cs
- backend.cs
- PartialTrustVisibleAssembly.cs
- BmpBitmapDecoder.cs
- EntityDataSourceStatementEditor.cs
- DecimalAverageAggregationOperator.cs
- InvokeMemberBinder.cs
- Avt.cs
- ValidationSummary.cs
- GeneralTransform3D.cs
- MetadataReference.cs
- RecognitionResult.cs
- StreamUpdate.cs
- Int32KeyFrameCollection.cs
- SlotInfo.cs
- LinqDataSourceValidationException.cs
- HtmlInputPassword.cs
- NetworkInformationException.cs
- ProxyManager.cs
- MouseEventArgs.cs
- Config.cs
- BinHexDecoder.cs
- PersonalizationState.cs
- TemplateContentLoader.cs
- ToolStripDropDownButton.cs
- ProtocolViolationException.cs
- Pts.cs