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
- ArgumentFixer.cs
- ToolStripScrollButton.cs
- CommonRemoteMemoryBlock.cs
- bindurihelper.cs
- GridView.cs
- HttpModuleActionCollection.cs
- PrivilegeNotHeldException.cs
- Compress.cs
- MetadataItemEmitter.cs
- Win32MouseDevice.cs
- LocalizableResourceBuilder.cs
- printdlgexmarshaler.cs
- RealProxy.cs
- HTMLTextWriter.cs
- AssemblyInfo.cs
- WinCategoryAttribute.cs
- ConfigXmlDocument.cs
- PropertySourceInfo.cs
- DataRow.cs
- CodeBinaryOperatorExpression.cs
- FileLogRecordEnumerator.cs
- MessageSmuggler.cs
- CurrentTimeZone.cs
- OverloadGroupAttribute.cs
- DrawToolTipEventArgs.cs
- AbstractExpressions.cs
- DataListItemCollection.cs
- AttributeSetAction.cs
- EncryptedKey.cs
- HttpConfigurationContext.cs
- ScrollViewer.cs
- HttpsTransportElement.cs
- ControlBindingsCollection.cs
- CopyNodeSetAction.cs
- XmlArrayItemAttributes.cs
- TrackingDataItemValue.cs
- DeviceOverridableAttribute.cs
- CompoundFileDeflateTransform.cs
- StringArrayEditor.cs
- SettingsAttributes.cs
- HybridDictionary.cs
- KeyedHashAlgorithm.cs
- TemplateBindingExpressionConverter.cs
- DiscardableAttribute.cs
- XPathExpr.cs
- ListViewItemMouseHoverEvent.cs
- ByValueEqualityComparer.cs
- PerspectiveCamera.cs
- RefType.cs
- Html32TextWriter.cs
- TextEffect.cs
- ParsedAttributeCollection.cs
- XmlCharType.cs
- FilePrompt.cs
- FileBasedResourceGroveler.cs
- VerticalAlignConverter.cs
- ClientConvert.cs
- KeyboardInputProviderAcquireFocusEventArgs.cs
- RubberbandSelector.cs
- FormViewUpdatedEventArgs.cs
- ObjectAssociationEndMapping.cs
- OneOfTypeConst.cs
- ByteStorage.cs
- FlagsAttribute.cs
- EmptyQuery.cs
- FontSourceCollection.cs
- TextTreeTextElementNode.cs
- FixedHighlight.cs
- OleDbParameterCollection.cs
- GrammarBuilderPhrase.cs
- PersonalizationStateInfoCollection.cs
- VectorCollectionConverter.cs
- DispatcherExceptionEventArgs.cs
- UserThread.cs
- ProtocolsConfiguration.cs
- PackWebRequest.cs
- Repeater.cs
- BitmapEffectInputData.cs
- TcpHostedTransportConfiguration.cs
- WebPartConnectionsConfigureVerb.cs
- CreateDataSourceDialog.cs
- SkipQueryOptionExpression.cs
- XmlSchemaAny.cs
- ConfigsHelper.cs
- TypefaceCollection.cs
- NamespaceTable.cs
- PropertyChangedEventArgs.cs
- IOThreadTimer.cs
- EventRecord.cs
- PngBitmapEncoder.cs
- GestureRecognitionResult.cs
- SerializationInfoEnumerator.cs
- ExpressionBuilderCollection.cs
- _IPv6Address.cs
- MSAAEventDispatcher.cs
- DataGridLinkButton.cs
- IPGlobalProperties.cs
- GrammarBuilderBase.cs
- OleDbError.cs
- ProfileProvider.cs