Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- CompositeControl.cs
- TypedReference.cs
- AssertSection.cs
- BamlRecordHelper.cs
- SmuggledIUnknown.cs
- RtfControlWordInfo.cs
- OwnerDrawPropertyBag.cs
- TextInfo.cs
- TypedElement.cs
- WhitespaceRuleReader.cs
- ModelUtilities.cs
- RuntimeEnvironment.cs
- ValidationException.cs
- ProcessModuleCollection.cs
- TextFormatterImp.cs
- TypeGeneratedEventArgs.cs
- HWStack.cs
- RightsManagementEncryptedStream.cs
- CodeGenerationManager.cs
- HelpKeywordAttribute.cs
- WSSecurityPolicy.cs
- MessageHeaderT.cs
- EncryptedKeyIdentifierClause.cs
- ResourceBinder.cs
- SID.cs
- CompatibleIComparer.cs
- PreviewPageInfo.cs
- RecordConverter.cs
- SamlConditions.cs
- GcSettings.cs
- DataKeyCollection.cs
- TypeConverterAttribute.cs
- OperationCanceledException.cs
- CompletedAsyncResult.cs
- SiteMapNodeItemEventArgs.cs
- RootBrowserWindowAutomationPeer.cs
- RegularExpressionValidator.cs
- XmlException.cs
- HttpHandlerAction.cs
- SchemaElementLookUpTable.cs
- XmlQueryOutput.cs
- SyndicationSerializer.cs
- Decimal.cs
- PlaceHolder.cs
- QilTypeChecker.cs
- SqlDataSourceTableQuery.cs
- PackageFilter.cs
- CollectionDataContractAttribute.cs
- IdentityModelStringsVersion1.cs
- WindowsEditBox.cs
- ServiceOperationParameter.cs
- WebBrowserUriTypeConverter.cs
- ContractCodeDomInfo.cs
- SimpleFieldTemplateFactory.cs
- EdmScalarPropertyAttribute.cs
- COM2TypeInfoProcessor.cs
- KoreanLunisolarCalendar.cs
- HeaderUtility.cs
- ConstraintStruct.cs
- Queue.cs
- DataGridViewCheckBoxCell.cs
- Shape.cs
- LZCodec.cs
- MsmqOutputChannel.cs
- ReachSerializerAsync.cs
- ListViewDataItem.cs
- ChangePassword.cs
- InlineCollection.cs
- DatagridviewDisplayedBandsData.cs
- DataGridView.cs
- ObjectItemConventionAssemblyLoader.cs
- DataMemberConverter.cs
- HitTestWithGeometryDrawingContextWalker.cs
- FloaterParagraph.cs
- ListViewEditEventArgs.cs
- FileNotFoundException.cs
- TabControlDesigner.cs
- ClientRolePrincipal.cs
- AnimationClockResource.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- InternalControlCollection.cs
- NegotiationTokenAuthenticatorStateCache.cs
- DbXmlEnabledProviderManifest.cs
- LiteralTextParser.cs
- SynchronizationHandlesCodeDomSerializer.cs
- WorkflowDesignerColors.cs
- IsolatedStorageFilePermission.cs
- DocumentPageViewAutomationPeer.cs
- XmlIlTypeHelper.cs
- SecurityStateEncoder.cs
- PasswordPropertyTextAttribute.cs
- SelectionItemPattern.cs
- ScrollBar.cs
- XmlArrayItemAttribute.cs
- UnsafeNativeMethods.cs
- TargetInvocationException.cs
- TransformValueSerializer.cs
- CardSpaceException.cs
- WebPartChrome.cs
- BlobPersonalizationState.cs