Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / WinForms / Managed / System / WinForms / QueryContinueDragEvent.cs / 1 / 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. /// ///// 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
- ReadOnlyNameValueCollection.cs
- LayoutEditorPart.cs
- propertyentry.cs
- DataTableNewRowEvent.cs
- CompensationToken.cs
- DispatcherExceptionFilterEventArgs.cs
- AuthenticateEventArgs.cs
- Cursor.cs
- PresentationAppDomainManager.cs
- CultureTable.cs
- DataGridItemCollection.cs
- unsafenativemethodsother.cs
- Hyperlink.cs
- HwndMouseInputProvider.cs
- ManipulationDelta.cs
- SapiAttributeParser.cs
- UniqueIdentifierService.cs
- FacetValueContainer.cs
- TreeView.cs
- NCryptNative.cs
- SqlDataAdapter.cs
- HybridDictionary.cs
- XamlTypeMapperSchemaContext.cs
- DataGridViewLinkCell.cs
- SizeConverter.cs
- ListBox.cs
- DispatcherHooks.cs
- DESCryptoServiceProvider.cs
- IdentityNotMappedException.cs
- ContractNamespaceAttribute.cs
- SortedSet.cs
- ScriptControlManager.cs
- DataGridViewRowCancelEventArgs.cs
- TypeConverterValueSerializer.cs
- Choices.cs
- GuidTagList.cs
- ClientReliableChannelBinder.cs
- IsolatedStorage.cs
- KoreanLunisolarCalendar.cs
- TransformPattern.cs
- DataListCommandEventArgs.cs
- InvokePattern.cs
- TabControlDesigner.cs
- CommonProperties.cs
- BoundsDrawingContextWalker.cs
- XmlChildNodes.cs
- Effect.cs
- DataGridRow.cs
- EventMetadata.cs
- Utils.cs
- IssuedTokenServiceElement.cs
- AdRotator.cs
- Accessible.cs
- UniqueIdentifierService.cs
- GenericTypeParameterBuilder.cs
- Journal.cs
- EventLogTraceListener.cs
- SqlDataSourceTableQuery.cs
- Registry.cs
- TextOutput.cs
- CmsInterop.cs
- SafePEFileHandle.cs
- DesignConnection.cs
- SiteMapNodeItemEventArgs.cs
- ValueQuery.cs
- TextBreakpoint.cs
- TextTreeDeleteContentUndoUnit.cs
- DesignerAutoFormatCollection.cs
- SqlDataSourceConnectionPanel.cs
- ListMarkerLine.cs
- ProcessHost.cs
- DependencyProperty.cs
- DataGridTable.cs
- MultipartIdentifier.cs
- UniqueConstraint.cs
- ScriptMethodAttribute.cs
- FontStretchConverter.cs
- Evidence.cs
- hebrewshape.cs
- CredentialCache.cs
- BinaryParser.cs
- RegexWriter.cs
- CompilerCollection.cs
- WebPartHeaderCloseVerb.cs
- XPathParser.cs
- HandlerBase.cs
- UdpRetransmissionSettings.cs
- WebSysDescriptionAttribute.cs
- RuleSetBrowserDialog.cs
- MenuTracker.cs
- HealthMonitoringSectionHelper.cs
- WasEndpointConfigContainer.cs
- SizeF.cs
- ProfileSection.cs
- WindowPattern.cs
- FileDialogPermission.cs
- EventHandlerService.cs
- Inline.cs
- DiagnosticsConfigurationHandler.cs
- CounterCreationDataConverter.cs