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
- XmlResolver.cs
- EnumerableRowCollection.cs
- Root.cs
- XNodeNavigator.cs
- LocalClientSecuritySettings.cs
- SendMailErrorEventArgs.cs
- GeneralTransform3DCollection.cs
- DataBinding.cs
- QuaternionAnimationBase.cs
- SqlCacheDependencyDatabase.cs
- WebBrowserEvent.cs
- InputScopeAttribute.cs
- InvariantComparer.cs
- Viewport3DAutomationPeer.cs
- TypedElement.cs
- PropertyIdentifier.cs
- StylusPointPropertyInfo.cs
- SchemaAttDef.cs
- Compiler.cs
- Activity.cs
- DesignerSerializationManager.cs
- ExpandoObject.cs
- StrokeNodeEnumerator.cs
- UserPreferenceChangedEventArgs.cs
- HttpListenerException.cs
- GeneratedCodeAttribute.cs
- WebPartConnectionsConnectVerb.cs
- TextMetrics.cs
- ProvideValueServiceProvider.cs
- XmlSchemaException.cs
- OpenTypeLayout.cs
- FlowDocument.cs
- Repeater.cs
- XmlSchemas.cs
- PersonalizationStateInfo.cs
- Executor.cs
- VisualProxy.cs
- ReadOnlyCollectionBase.cs
- UIntPtr.cs
- SizeF.cs
- RichTextBoxContextMenu.cs
- AuthenticationManager.cs
- Graphics.cs
- FrameworkElementAutomationPeer.cs
- GACMembershipCondition.cs
- BaseInfoTable.cs
- RepeaterItemCollection.cs
- PageRequestManager.cs
- MergeFilterQuery.cs
- DrawingAttributes.cs
- ReadOnlyCollectionBuilder.cs
- MailHeaderInfo.cs
- FileResponseElement.cs
- FixedDocumentSequencePaginator.cs
- DataGridPagingPage.cs
- RoutedCommand.cs
- uribuilder.cs
- ServicePointManagerElement.cs
- WebServiceHandlerFactory.cs
- RSAOAEPKeyExchangeFormatter.cs
- CharAnimationBase.cs
- BuildResultCache.cs
- SQLDateTimeStorage.cs
- glyphs.cs
- HttpModuleActionCollection.cs
- HtmlAnchor.cs
- UndoUnit.cs
- GenericEnumConverter.cs
- ToolBarTray.cs
- HijriCalendar.cs
- AdornerDecorator.cs
- MailFileEditor.cs
- UriTemplateMatchException.cs
- DragCompletedEventArgs.cs
- XPathNodeHelper.cs
- ButtonColumn.cs
- WsdlBuildProvider.cs
- DataGridViewAdvancedBorderStyle.cs
- DataGridAddNewRow.cs
- PenContext.cs
- CodeMemberMethod.cs
- AuthorizationPolicyTypeElement.cs
- EtwTrackingBehavior.cs
- AsymmetricSignatureFormatter.cs
- control.ime.cs
- UpdateTranslator.cs
- VectorAnimationUsingKeyFrames.cs
- HttpCacheVary.cs
- RegexGroupCollection.cs
- InputLanguageManager.cs
- DefaultWorkflowLoaderService.cs
- ImageCodecInfoPrivate.cs
- PersonalizationStateInfo.cs
- HtmlProps.cs
- GZipDecoder.cs
- InputBuffer.cs
- GlobalId.cs
- CodeTypeConstructor.cs
- SspiSafeHandles.cs
- Win32Exception.cs