Code:
/ 4.0 / 4.0 / 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. /// ///// 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
- BindingExpressionBase.cs
- CodeMethodInvokeExpression.cs
- XmlTypeAttribute.cs
- PageThemeParser.cs
- regiisutil.cs
- DataTableMappingCollection.cs
- RegularExpressionValidator.cs
- ArrayWithOffset.cs
- EntityDataSourceConfigureObjectContext.cs
- WebSysDisplayNameAttribute.cs
- CodeStatementCollection.cs
- infer.cs
- FieldNameLookup.cs
- HttpNamespaceReservationInstallComponent.cs
- NotifyInputEventArgs.cs
- Version.cs
- SafeProcessHandle.cs
- StylusButtonCollection.cs
- GetWinFXPath.cs
- PointValueSerializer.cs
- ArraySubsetEnumerator.cs
- nulltextnavigator.cs
- RunInstallerAttribute.cs
- autovalidator.cs
- SID.cs
- WindowsAuthenticationEventArgs.cs
- RtfControlWordInfo.cs
- StringValidator.cs
- XslUrlEditor.cs
- WebPartZoneCollection.cs
- DecoderReplacementFallback.cs
- ContractMapping.cs
- TargetPerspective.cs
- XmlDownloadManager.cs
- CAGDesigner.cs
- UMPAttributes.cs
- LongValidatorAttribute.cs
- UInt64.cs
- BulletDecorator.cs
- PageBreakRecord.cs
- XhtmlBasicCommandAdapter.cs
- TimeManager.cs
- ISFClipboardData.cs
- WinFormsUtils.cs
- MetadataFile.cs
- DebugHandleTracker.cs
- PropertyReference.cs
- AttributeUsageAttribute.cs
- MaskDesignerDialog.cs
- SqlTransaction.cs
- VerticalAlignConverter.cs
- CodeObjectCreateExpression.cs
- SoundPlayer.cs
- GroupBoxDesigner.cs
- BrowserTree.cs
- WebDisplayNameAttribute.cs
- TableRow.cs
- TextSelectionHighlightLayer.cs
- GcSettings.cs
- WebPartZoneBase.cs
- cookie.cs
- DispatcherHooks.cs
- RoleGroupCollection.cs
- PartitionerQueryOperator.cs
- TaskHelper.cs
- DataRowExtensions.cs
- SimpleType.cs
- HelpKeywordAttribute.cs
- DeploymentSection.cs
- AdPostCacheSubstitution.cs
- TouchPoint.cs
- Matrix.cs
- TypedTableBase.cs
- ChtmlImageAdapter.cs
- ParentQuery.cs
- CommandBinding.cs
- UiaCoreProviderApi.cs
- ValueHandle.cs
- HtmlInputFile.cs
- BoundingRectTracker.cs
- ColorComboBox.cs
- ISessionStateStore.cs
- ItemAutomationPeer.cs
- HttpModuleCollection.cs
- ModelFunction.cs
- _emptywebproxy.cs
- ArrangedElement.cs
- PageContent.cs
- Compiler.cs
- StateFinalizationActivity.cs
- OdbcConnectionOpen.cs
- RectangleConverter.cs
- EraserBehavior.cs
- ContentHostHelper.cs
- SafeNativeMethods.cs
- DataGridViewControlCollection.cs
- NotifyInputEventArgs.cs
- ContentElementAutomationPeer.cs
- UMPAttributes.cs
- ClientConfigurationHost.cs