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
- FrameworkContentElementAutomationPeer.cs
- ToolboxBitmapAttribute.cs
- ContextBase.cs
- RegisteredScript.cs
- CharStorage.cs
- DataRecordInternal.cs
- EmptyEnumerator.cs
- TrackingServices.cs
- AlgoModule.cs
- MailWebEventProvider.cs
- PackWebRequest.cs
- LinkTarget.cs
- ErrorWebPart.cs
- EdgeModeValidation.cs
- lengthconverter.cs
- ProcessProtocolHandler.cs
- PropertyGroupDescription.cs
- RoutedEventHandlerInfo.cs
- WebReferencesBuildProvider.cs
- OleDbFactory.cs
- SqlProcedureAttribute.cs
- Binding.cs
- DomainConstraint.cs
- RoutedPropertyChangedEventArgs.cs
- InfoCardRSAPKCS1KeyExchangeDeformatter.cs
- PageContentAsyncResult.cs
- SrgsRuleRef.cs
- Timer.cs
- EdmSchemaAttribute.cs
- SSmlParser.cs
- WebPartEditorApplyVerb.cs
- SeparatorAutomationPeer.cs
- DataGridBoolColumn.cs
- SqlParameterCollection.cs
- XmlValueConverter.cs
- ExtensionSimplifierMarkupObject.cs
- XmlSerializationGeneratedCode.cs
- ServiceNameCollection.cs
- Schema.cs
- TreeNodeStyleCollection.cs
- ListMarkerLine.cs
- TypeInitializationException.cs
- XsdBuildProvider.cs
- SQLByte.cs
- TextBoxBase.cs
- BamlResourceContent.cs
- HttpHandlersSection.cs
- ReverseInheritProperty.cs
- XmlDocumentFragment.cs
- FormattedText.cs
- PointConverter.cs
- QilCloneVisitor.cs
- ComponentDispatcher.cs
- CurrentTimeZone.cs
- basecomparevalidator.cs
- Mutex.cs
- BitVector32.cs
- DocumentPaginator.cs
- SafeSystemMetrics.cs
- RectangleConverter.cs
- MemoryMappedFile.cs
- SignatureResourcePool.cs
- BuildProviderAppliesToAttribute.cs
- MachineKey.cs
- SiteMapDataSourceView.cs
- TextTreeNode.cs
- Container.cs
- KeyPressEvent.cs
- SpellCheck.cs
- altserialization.cs
- Sequence.cs
- ServiceObjectContainer.cs
- XmlMemberMapping.cs
- CryptoApi.cs
- StorageInfo.cs
- WorkflowQueueInfo.cs
- OrderPreservingPipeliningMergeHelper.cs
- NTAccount.cs
- ObjectDataSourceMethodEventArgs.cs
- FormViewPagerRow.cs
- StateDesigner.Layouts.cs
- DataContractFormatAttribute.cs
- FontInfo.cs
- StrokeNodeEnumerator.cs
- DateBoldEvent.cs
- MethodAccessException.cs
- StorageMappingFragment.cs
- HiddenFieldPageStatePersister.cs
- WebPartExportVerb.cs
- SpellerStatusTable.cs
- XsltException.cs
- IntegerValidatorAttribute.cs
- PagerSettings.cs
- OpenTypeMethods.cs
- XamlFilter.cs
- PreservationFileReader.cs
- LogWriteRestartAreaState.cs
- OdbcTransaction.cs
- Parameter.cs
- RadioButton.cs