Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- CustomPopupPlacement.cs
- Journaling.cs
- followingquery.cs
- RtType.cs
- SqlUserDefinedTypeAttribute.cs
- AppModelKnownContentFactory.cs
- ScrollViewer.cs
- CodeGen.cs
- Int32Storage.cs
- mongolianshape.cs
- DPCustomTypeDescriptor.cs
- StorageInfo.cs
- TypePropertyEditor.cs
- ToolTipAutomationPeer.cs
- DesignerOptionService.cs
- RequestSecurityTokenResponse.cs
- XmlSequenceWriter.cs
- NodeInfo.cs
- DynamicHyperLink.cs
- XmlQualifiedName.cs
- Parser.cs
- CodeNamespaceImportCollection.cs
- GridErrorDlg.cs
- ConfigurationManagerInternalFactory.cs
- TraceSource.cs
- DataGridCommandEventArgs.cs
- RtType.cs
- VisualStates.cs
- _Connection.cs
- DataKey.cs
- MediaElementAutomationPeer.cs
- UdpAnnouncementEndpoint.cs
- ConnectionConsumerAttribute.cs
- ObjectDataSourceEventArgs.cs
- SspiWrapper.cs
- FormViewInsertedEventArgs.cs
- GroupItem.cs
- ProtocolElement.cs
- BindableTemplateBuilder.cs
- XpsFixedDocumentSequenceReaderWriter.cs
- CmsUtils.cs
- SignedXml.cs
- LexicalChunk.cs
- Preprocessor.cs
- StrongBox.cs
- DynamicMethod.cs
- XmlDocumentSerializer.cs
- FlowLayoutSettings.cs
- FacetChecker.cs
- ValueTable.cs
- GeneralTransform3D.cs
- Compensation.cs
- StylusPoint.cs
- WebPartEditorApplyVerb.cs
- ReadWriteObjectLock.cs
- InstanceHandle.cs
- DBNull.cs
- WebConfigurationFileMap.cs
- PropertyGrid.cs
- MemberProjectionIndex.cs
- NameTable.cs
- DocumentApplicationJournalEntry.cs
- DbUpdateCommandTree.cs
- ProtocolsConfigurationEntry.cs
- ValidationEventArgs.cs
- FormClosingEvent.cs
- BeginGetFileNameFromUserRequest.cs
- Bidi.cs
- serverconfig.cs
- ExpressionBinding.cs
- SqlDependency.cs
- PropertyEntry.cs
- AdRotator.cs
- ClientSettingsProvider.cs
- CodeDesigner.cs
- DrawingGroup.cs
- SetStateEventArgs.cs
- MonitorWrapper.cs
- XslTransform.cs
- GenericEnumerator.cs
- Vector3DAnimationUsingKeyFrames.cs
- UnsafeNativeMethods.cs
- InternalsVisibleToAttribute.cs
- CommonDialog.cs
- ReadingWritingEntityEventArgs.cs
- Substitution.cs
- XmlDataContract.cs
- WebRequestModuleElement.cs
- MatchAttribute.cs
- DetailsViewUpdateEventArgs.cs
- EdmConstants.cs
- DataGridViewTextBoxCell.cs
- XsdDateTime.cs
- FontDriver.cs
- ZipIOCentralDirectoryBlock.cs
- CalendarDay.cs
- WebPartZoneCollection.cs
- WorkflowInstanceExtensionCollection.cs
- MutableAssemblyCacheEntry.cs
- SqlDataRecord.cs