Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- HandlerMappingMemo.cs
- LongValidator.cs
- WebPartManager.cs
- RequestSecurityTokenForRemoteTokenFactory.cs
- WebPartZoneCollection.cs
- EventLogTraceListener.cs
- DbReferenceCollection.cs
- EventToken.cs
- UnsafeNativeMethods.cs
- COM2PropertyPageUITypeConverter.cs
- GridViewRowEventArgs.cs
- AdapterUtil.cs
- MdImport.cs
- EditorZone.cs
- ObjectParameterCollection.cs
- MessageDecoder.cs
- MemoryRecordBuffer.cs
- HttpRuntimeSection.cs
- DbConnectionOptions.cs
- BookmarkOptionsHelper.cs
- DataStreamFromComStream.cs
- SqlBuffer.cs
- ParserContext.cs
- QilGenerator.cs
- ProxyAssemblyNotLoadedException.cs
- XamlPoint3DCollectionSerializer.cs
- NextPreviousPagerField.cs
- DefaultBinder.cs
- SettingsPropertyCollection.cs
- ResourceDescriptionAttribute.cs
- ToolStripRenderEventArgs.cs
- TrackingProfileManager.cs
- ImageCollectionCodeDomSerializer.cs
- CrossSiteScriptingValidation.cs
- HandlerBase.cs
- SmtpSection.cs
- CopyEncoder.cs
- ActivityExecutorSurrogate.cs
- MetafileHeaderWmf.cs
- ScriptManager.cs
- VarInfo.cs
- DBCommand.cs
- PropertyValidationContext.cs
- UseManagedPresentationElement.cs
- MarkupExtensionSerializer.cs
- HttpVersion.cs
- ValidatorCompatibilityHelper.cs
- TypeContext.cs
- SoapHeaderException.cs
- SocketAddress.cs
- SQLSingleStorage.cs
- DecoderNLS.cs
- TemplateParser.cs
- PropertyGridCommands.cs
- DataGridViewCellStateChangedEventArgs.cs
- PictureBox.cs
- WindowsSecurityTokenAuthenticator.cs
- Ticks.cs
- ErrorInfoXmlDocument.cs
- BooleanConverter.cs
- HttpAsyncResult.cs
- QuerySelectOp.cs
- ZipIOCentralDirectoryBlock.cs
- HelpProvider.cs
- PersonalizationStateQuery.cs
- ZoneLinkButton.cs
- DataGridViewButtonColumn.cs
- UInt32Converter.cs
- ProfileServiceManager.cs
- RelationshipEndMember.cs
- AudioSignalProblemOccurredEventArgs.cs
- CommandArguments.cs
- TemplateControlCodeDomTreeGenerator.cs
- FrameworkTextComposition.cs
- TokenBasedSet.cs
- UIElement.cs
- InstanceCollisionException.cs
- Error.cs
- WindowsComboBox.cs
- ContextItemManager.cs
- XmlSchemaSubstitutionGroup.cs
- NonDualMessageSecurityOverHttp.cs
- BufferAllocator.cs
- SamlAssertionKeyIdentifierClause.cs
- StaticTextPointer.cs
- DateTimeAutomationPeer.cs
- SynchronizedDispatch.cs
- HttpCachePolicy.cs
- FormClosingEvent.cs
- Queue.cs
- CalendarAutomationPeer.cs
- DataContext.cs
- ToolStripGrip.cs
- PixelFormatConverter.cs
- HttpModuleAction.cs
- MembershipSection.cs
- BatchStream.cs
- SessionIDManager.cs
- ModelVisual3D.cs
- RegexCode.cs