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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ToolboxBitmapAttribute.cs
- PropertyEmitter.cs
- DataService.cs
- CatalogZoneBase.cs
- CatalogPartCollection.cs
- DataGridPageChangedEventArgs.cs
- DrawListViewSubItemEventArgs.cs
- InstallerTypeAttribute.cs
- ClientCultureInfo.cs
- SqlDataSourceSummaryPanel.cs
- XmlSerializerNamespaces.cs
- BindingsCollection.cs
- followingquery.cs
- SqlRowUpdatingEvent.cs
- PrimitiveDataContract.cs
- SchemaCreator.cs
- TextRange.cs
- DelayedRegex.cs
- CardSpacePolicyElement.cs
- InputLangChangeEvent.cs
- GridViewDeleteEventArgs.cs
- PseudoWebRequest.cs
- InvalidOleVariantTypeException.cs
- TemplateXamlTreeBuilder.cs
- XmlSchemaAnyAttribute.cs
- XmlHierarchicalDataSourceView.cs
- DataStorage.cs
- SqlDataRecord.cs
- WebDisplayNameAttribute.cs
- MultipartIdentifier.cs
- ListItemCollection.cs
- TextServicesLoader.cs
- FixUp.cs
- ResponseBodyWriter.cs
- TransportConfigurationTypeElementCollection.cs
- TimeoutException.cs
- RootBuilder.cs
- LayeredChannelFactory.cs
- HttpException.cs
- ConstructorExpr.cs
- TextFormatterContext.cs
- CSharpCodeProvider.cs
- XmlSchemaParticle.cs
- RouteValueDictionary.cs
- ParameterCollection.cs
- GeneralTransform.cs
- ButtonField.cs
- serverconfig.cs
- Section.cs
- XPathDocumentNavigator.cs
- DateTimeOffsetConverter.cs
- X509ChainElement.cs
- PointConverter.cs
- LoadRetryConstantStrategy.cs
- Command.cs
- DesignerToolboxInfo.cs
- UserPreferenceChangingEventArgs.cs
- OracleParameterBinding.cs
- UIElement3D.cs
- DiffuseMaterial.cs
- ServiceDesigner.cs
- UiaCoreTypesApi.cs
- RemoteArgument.cs
- IPipelineRuntime.cs
- WindowsBrush.cs
- MethodRental.cs
- SharedDp.cs
- HttpNamespaceReservationInstallComponent.cs
- Message.cs
- TripleDESCryptoServiceProvider.cs
- DefaultMemberAttribute.cs
- DiffuseMaterial.cs
- QueryResponse.cs
- TraceSwitch.cs
- CodeTypeReferenceCollection.cs
- ContextMenu.cs
- ToolStripGrip.cs
- VariableQuery.cs
- ISO2022Encoding.cs
- VectorCollectionValueSerializer.cs
- ServiceModelExtensionCollectionElement.cs
- ComponentChangedEvent.cs
- _SingleItemRequestCache.cs
- DataServiceQuery.cs
- Label.cs
- DisplayNameAttribute.cs
- LiteralTextParser.cs
- PeerName.cs
- ToolBarOverflowPanel.cs
- CompilerGlobalScopeAttribute.cs
- FixedDSBuilder.cs
- DocumentSequenceHighlightLayer.cs
- SocketPermission.cs
- DesignBindingEditor.cs
- JsonFormatGeneratorStatics.cs
- PersistenceException.cs
- WindowsAuthenticationEventArgs.cs
- SharedUtils.cs
- RenderingEventArgs.cs
- WaitHandle.cs