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
- DBNull.cs
- SqlBinder.cs
- AssociationSetMetadata.cs
- TdsValueSetter.cs
- NotSupportedException.cs
- ScriptHandlerFactory.cs
- SystemBrushes.cs
- HtmlUtf8RawTextWriter.cs
- TemplateKeyConverter.cs
- StyleXamlTreeBuilder.cs
- EventLog.cs
- DataListItemCollection.cs
- RoleGroupCollection.cs
- ColorDialog.cs
- DataService.cs
- XmlRootAttribute.cs
- InternalSafeNativeMethods.cs
- EventProvider.cs
- ContentElement.cs
- EventData.cs
- IntSecurity.cs
- HttpPostedFile.cs
- RegisteredDisposeScript.cs
- brushes.cs
- SqlConnectionHelper.cs
- TreeViewImageGenerator.cs
- SvcMapFileSerializer.cs
- Vector3DConverter.cs
- InheritanceRules.cs
- DiscreteKeyFrames.cs
- AlignmentYValidation.cs
- DesignerObject.cs
- UIElement.cs
- XmlSubtreeReader.cs
- CharUnicodeInfo.cs
- SingleAnimation.cs
- MessageAction.cs
- coordinatorscratchpad.cs
- WebPartEditVerb.cs
- ConfigurationConverterBase.cs
- DesignerTextViewAdapter.cs
- Stack.cs
- Parameter.cs
- PtsHost.cs
- GcSettings.cs
- ConfigXmlAttribute.cs
- RoamingStoreFile.cs
- BridgeDataReader.cs
- AuthenticationSection.cs
- Variable.cs
- SingleTagSectionHandler.cs
- StylusDownEventArgs.cs
- AccessKeyManager.cs
- ScalarConstant.cs
- FillRuleValidation.cs
- NameObjectCollectionBase.cs
- UdpTransportSettings.cs
- UInt16Converter.cs
- TableParagraph.cs
- coordinatorscratchpad.cs
- XmlHierarchicalEnumerable.cs
- SQLString.cs
- CompoundFileStorageReference.cs
- ExpandCollapseProviderWrapper.cs
- MenuItemBinding.cs
- DateTimeOffsetConverter.cs
- FormatSelectingMessageInspector.cs
- RegisteredDisposeScript.cs
- Glyph.cs
- Exceptions.cs
- WebPartTransformer.cs
- UIElementCollection.cs
- Directory.cs
- DelegatingTypeDescriptionProvider.cs
- TextTreeRootTextBlock.cs
- CellParagraph.cs
- EdmFunctionAttribute.cs
- ErasingStroke.cs
- DesignerRegion.cs
- SoapSchemaImporter.cs
- SQLInt64.cs
- KeyValueConfigurationElement.cs
- TypeExtensionConverter.cs
- BrushMappingModeValidation.cs
- RequestCachePolicyConverter.cs
- ContextMenuStrip.cs
- UnicodeEncoding.cs
- ReflectionTypeLoadException.cs
- ObjectViewListener.cs
- SqlConnectionHelper.cs
- ProfilePropertyMetadata.cs
- ConfigurationManagerInternal.cs
- WebBrowserHelper.cs
- ToolStripItemRenderEventArgs.cs
- RemoteWebConfigurationHost.cs
- RefreshPropertiesAttribute.cs
- RSAOAEPKeyExchangeFormatter.cs
- XmlEncoding.cs
- VirtualizingStackPanel.cs
- HttpInputStream.cs