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
- ApplicationActivator.cs
- WindowsMenu.cs
- MetadataUtil.cs
- PageAsyncTaskManager.cs
- LogicalExpr.cs
- Visual3D.cs
- CharConverter.cs
- CodeFieldReferenceExpression.cs
- ListViewCancelEventArgs.cs
- FormatSettings.cs
- OrderPreservingPipeliningMergeHelper.cs
- ReferencedAssemblyResolver.cs
- EntityProxyTypeInfo.cs
- TextServicesCompartmentContext.cs
- FileDialog.cs
- MetricEntry.cs
- MdiWindowListItemConverter.cs
- LastQueryOperator.cs
- Condition.cs
- XmlWellformedWriter.cs
- ToolStripItemBehavior.cs
- TypeProvider.cs
- BooleanKeyFrameCollection.cs
- ToolboxDataAttribute.cs
- AccessibleObject.cs
- SerializationEventsCache.cs
- Set.cs
- HtmlControlPersistable.cs
- manifestimages.cs
- ReadOnlyDataSourceView.cs
- WebPartConnectionsCancelEventArgs.cs
- ParameterModifier.cs
- InternalDispatchObject.cs
- SvcMapFileLoader.cs
- Matrix3D.cs
- ColorAnimationBase.cs
- CatalogPartChrome.cs
- ListViewInsertionMark.cs
- QuestionEventArgs.cs
- ContentWrapperAttribute.cs
- Native.cs
- InvalidateEvent.cs
- PopupControlService.cs
- DbProviderConfigurationHandler.cs
- DummyDataSource.cs
- XmlPreloadedResolver.cs
- dbdatarecord.cs
- XmlMemberMapping.cs
- MetadataPropertyAttribute.cs
- NavigationWindowAutomationPeer.cs
- RightNameExpirationInfoPair.cs
- PipelineModuleStepContainer.cs
- SqlUtil.cs
- BigInt.cs
- ObjectItemCollection.cs
- COAUTHIDENTITY.cs
- KeyValuePairs.cs
- QuaternionIndependentAnimationStorage.cs
- Opcode.cs
- RsaKeyIdentifierClause.cs
- CollectionChangeEventArgs.cs
- CompModSwitches.cs
- IxmlLineInfo.cs
- RC2CryptoServiceProvider.cs
- KeyValuePairs.cs
- WebPartZoneCollection.cs
- HebrewCalendar.cs
- DataViewManagerListItemTypeDescriptor.cs
- FilterableAttribute.cs
- FrameworkTemplate.cs
- XmlParser.cs
- Missing.cs
- TextTrailingWordEllipsis.cs
- ScaleTransform3D.cs
- ProgressChangedEventArgs.cs
- Thread.cs
- TemplateControlBuildProvider.cs
- DateTimeValueSerializer.cs
- WebPartConnection.cs
- HwndPanningFeedback.cs
- BaseCodeDomTreeGenerator.cs
- RectAnimation.cs
- GlyphRun.cs
- WSSecurityOneDotZeroReceiveSecurityHeader.cs
- Translator.cs
- SqlProviderManifest.cs
- FontWeights.cs
- configsystem.cs
- CaseCqlBlock.cs
- SchemaReference.cs
- DataListComponentEditor.cs
- ComboBoxAutomationPeer.cs
- WebBrowserUriTypeConverter.cs
- IntegrationExceptionEventArgs.cs
- PreparingEnlistment.cs
- ImageCollectionEditor.cs
- HotSpotCollection.cs
- ReadContentAsBinaryHelper.cs
- MetadataExchangeClient.cs
- BlurBitmapEffect.cs