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
- objectresult_tresulttype.cs
- InputBuffer.cs
- CryptoKeySecurity.cs
- DurableInstance.cs
- CodeMemberField.cs
- ObjectConverter.cs
- DriveInfo.cs
- DictionaryBase.cs
- XmlExtensionFunction.cs
- JournalEntryStack.cs
- UiaCoreProviderApi.cs
- PenLineCapValidation.cs
- File.cs
- StreamWriter.cs
- MenuItemAutomationPeer.cs
- InternalBase.cs
- DataGridViewAdvancedBorderStyle.cs
- OSEnvironmentHelper.cs
- ResourceKey.cs
- EntityType.cs
- ZeroOpNode.cs
- GeneratedView.cs
- ApplicationFileParser.cs
- StopStoryboard.cs
- InlineUIContainer.cs
- SqlDataSourceSelectingEventArgs.cs
- HelpProvider.cs
- BasicKeyConstraint.cs
- PickBranch.cs
- COM2DataTypeToManagedDataTypeConverter.cs
- WorkflowPersistenceContext.cs
- ToolStripButton.cs
- TableAdapterManagerMethodGenerator.cs
- OleDbReferenceCollection.cs
- XmlDocumentType.cs
- InstancePersistenceException.cs
- RectConverter.cs
- OrderByLifter.cs
- MediaElement.cs
- XPathSingletonIterator.cs
- CultureMapper.cs
- Mouse.cs
- DictionarySectionHandler.cs
- ScrollBar.cs
- HwndHostAutomationPeer.cs
- DecoderFallbackWithFailureFlag.cs
- Crypto.cs
- TransactionState.cs
- PanelStyle.cs
- selecteditemcollection.cs
- COM2ColorConverter.cs
- WindowAutomationPeer.cs
- EntityObject.cs
- TransactionFilter.cs
- EtwTrace.cs
- TypographyProperties.cs
- FullTextBreakpoint.cs
- LinqDataSourceDisposeEventArgs.cs
- QueryOptionExpression.cs
- UInt64Converter.cs
- Method.cs
- Figure.cs
- StylusLogic.cs
- ReaderContextStackData.cs
- TabPage.cs
- DbDataRecord.cs
- ConfigXmlComment.cs
- FixedDocumentSequencePaginator.cs
- SimpleType.cs
- Brush.cs
- CryptoHandle.cs
- DescriptionAttribute.cs
- DirectionalLight.cs
- SafeLibraryHandle.cs
- GlyphShapingProperties.cs
- DrawListViewColumnHeaderEventArgs.cs
- KnownIds.cs
- DependencyPropertyKind.cs
- relpropertyhelper.cs
- FormViewUpdatedEventArgs.cs
- MemoryStream.cs
- XmlAttributeHolder.cs
- WindowsUpDown.cs
- BitmapImage.cs
- CompleteWizardStep.cs
- Point3D.cs
- EncryptedData.cs
- AdornerPresentationContext.cs
- VarRemapper.cs
- RowVisual.cs
- BehaviorEditorPart.cs
- GetIndexBinder.cs
- SqlServices.cs
- TextHidden.cs
- _SingleItemRequestCache.cs
- HtmlMeta.cs
- RuntimeUtils.cs
- ThrowHelper.cs
- HttpRuntimeSection.cs
- AdPostCacheSubstitution.cs