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
- DataBoundControl.cs
- DataGridPageChangedEventArgs.cs
- CodeIterationStatement.cs
- EntityChangedParams.cs
- HyperLinkStyle.cs
- CustomErrorsSection.cs
- BaseCollection.cs
- EmbeddedMailObject.cs
- RuleAction.cs
- CompressStream.cs
- DataSourceExpression.cs
- TypeInfo.cs
- DesignerAdapterAttribute.cs
- ImageConverter.cs
- SelectionProviderWrapper.cs
- BamlLocalizer.cs
- MetaChildrenColumn.cs
- ErrorRuntimeConfig.cs
- PointHitTestResult.cs
- OleDbConnectionInternal.cs
- BitmapMetadataEnumerator.cs
- SQLCharsStorage.cs
- MethodExpr.cs
- HttpCookieCollection.cs
- TableLayoutSettings.cs
- GroupItem.cs
- LocalizationComments.cs
- DesignerActionPanel.cs
- RepeaterItem.cs
- NetCodeGroup.cs
- DataGridViewTopLeftHeaderCell.cs
- HandleCollector.cs
- CngProvider.cs
- DataObjectAttribute.cs
- Quaternion.cs
- IntSecurity.cs
- DefinitionBase.cs
- CodeExporter.cs
- EventListener.cs
- SQLDateTimeStorage.cs
- dataobject.cs
- BlurEffect.cs
- Bold.cs
- RenderOptions.cs
- SecurityIdentifierElement.cs
- HttpVersion.cs
- DBSchemaTable.cs
- NamespaceInfo.cs
- MsmqIntegrationValidationBehavior.cs
- GeneralTransform3DTo2DTo3D.cs
- BindingWorker.cs
- SqlCacheDependencyDatabaseCollection.cs
- AuthorizationRuleCollection.cs
- IssuedTokenClientBehaviorsElement.cs
- CatalogZone.cs
- VisualTransition.cs
- SemanticBasicElement.cs
- SqlRowUpdatingEvent.cs
- Rotation3D.cs
- ResourceKey.cs
- OdbcConnectionStringbuilder.cs
- DataGridHeadersVisibilityToVisibilityConverter.cs
- LazyTextWriterCreator.cs
- Transform.cs
- SortDescription.cs
- BypassElementCollection.cs
- DependencyPropertyHelper.cs
- TimeSpanSecondsConverter.cs
- ListBoxItem.cs
- DocumentOrderQuery.cs
- CaretElement.cs
- initElementDictionary.cs
- DataBoundControl.cs
- TrackingProfileManager.cs
- FrameAutomationPeer.cs
- CanonicalFormWriter.cs
- XmlUTF8TextReader.cs
- QilLiteral.cs
- TrustManager.cs
- SlipBehavior.cs
- FilterException.cs
- SchemaInfo.cs
- SrgsElement.cs
- SchemaImporterExtension.cs
- PrimaryKeyTypeConverter.cs
- BitVec.cs
- XmlCollation.cs
- DecoderNLS.cs
- CompModSwitches.cs
- HandoffBehavior.cs
- SelectedGridItemChangedEvent.cs
- XmlDomTextWriter.cs
- WindowsEditBox.cs
- EventLogQuery.cs
- AdornerHitTestResult.cs
- SqlDataReaderSmi.cs
- PaperSize.cs
- Logging.cs
- SharedConnectionListener.cs
- DefaultProxySection.cs