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
- WebPart.cs
- MachineKeySection.cs
- TraceUtility.cs
- ResourcesBuildProvider.cs
- Parameter.cs
- DelegatedStream.cs
- PageParser.cs
- CategoryNameCollection.cs
- XmlHelper.cs
- ArrayConverter.cs
- PhysicalAddress.cs
- ProfileProvider.cs
- QilLiteral.cs
- DrawToolTipEventArgs.cs
- CharEntityEncoderFallback.cs
- Viewport3DAutomationPeer.cs
- XmlWhitespace.cs
- Win32NamedPipes.cs
- LogicalTreeHelper.cs
- NotConverter.cs
- CodeDomSerializerBase.cs
- SimpleLine.cs
- OdbcParameterCollection.cs
- XsdDateTime.cs
- PasswordPropertyTextAttribute.cs
- DebugHandleTracker.cs
- XmlSchemaComplexContentExtension.cs
- NavigatingCancelEventArgs.cs
- DirectoryGroupQuery.cs
- DependencyPropertyAttribute.cs
- FormViewRow.cs
- ColumnCollectionEditor.cs
- MimeImporter.cs
- Point3DAnimationBase.cs
- TypedColumnHandler.cs
- FixUpCollection.cs
- Schema.cs
- HtmlImage.cs
- ExternalFile.cs
- ClientUtils.cs
- SoapBinding.cs
- SaveLedgerEntryRequest.cs
- SchemaAttDef.cs
- ErrorEventArgs.cs
- UnsafeNativeMethods.cs
- XmlDataSource.cs
- CheckBoxPopupAdapter.cs
- EventItfInfo.cs
- BindingList.cs
- TypeUnloadedException.cs
- ObjectFullSpanRewriter.cs
- _SslSessionsCache.cs
- GreenMethods.cs
- ListItemCollection.cs
- QueryOpcode.cs
- DataKey.cs
- SerializationAttributes.cs
- LoginDesignerUtil.cs
- PasswordBoxAutomationPeer.cs
- PanelStyle.cs
- WebBaseEventKeyComparer.cs
- HtmlInputReset.cs
- StreamInfo.cs
- ProbeMatchesApril2005.cs
- AddInToken.cs
- FragmentQuery.cs
- SimpleMailWebEventProvider.cs
- WhiteSpaceTrimStringConverter.cs
- ZipIOModeEnforcingStream.cs
- SwitchLevelAttribute.cs
- NamespaceDecl.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- MultipartContentParser.cs
- ConfigurationCollectionAttribute.cs
- ListParaClient.cs
- AppSettingsReader.cs
- HttpModuleCollection.cs
- DescendentsWalkerBase.cs
- SqlParameterCollection.cs
- BitConverter.cs
- StateManagedCollection.cs
- MemberRelationshipService.cs
- FontSourceCollection.cs
- Subtree.cs
- TokenBasedSetEnumerator.cs
- IISMapPath.cs
- InternalControlCollection.cs
- HttpWebRequestElement.cs
- StorageEntityContainerMapping.cs
- AudioSignalProblemOccurredEventArgs.cs
- SamlAuthorizationDecisionClaimResource.cs
- BasicViewGenerator.cs
- InvalidWMPVersionException.cs
- GridItemPattern.cs
- _DomainName.cs
- ContentFilePart.cs
- TextTrailingCharacterEllipsis.cs
- EventData.cs
- CurrentChangingEventArgs.cs
- RSACryptoServiceProvider.cs