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
- WebPartZoneCollection.cs
- NativeMethods.cs
- WebInvokeAttribute.cs
- ExternalCalls.cs
- NetNamedPipeSecurity.cs
- XmlUrlResolver.cs
- TargetFrameworkAttribute.cs
- Exceptions.cs
- QuaternionAnimationUsingKeyFrames.cs
- XPathParser.cs
- PeerReferralPolicy.cs
- StringUtil.cs
- WebPartVerbsEventArgs.cs
- SqlDataReaderSmi.cs
- ListBoxChrome.cs
- ScrollViewerAutomationPeer.cs
- HtmlTernaryTree.cs
- DelegatedStream.cs
- FontStretchConverter.cs
- PageAdapter.cs
- Query.cs
- HostedElements.cs
- SqlRowUpdatingEvent.cs
- ThreadLocal.cs
- EntityDataSourceWrapperPropertyDescriptor.cs
- PageBuildProvider.cs
- __Filters.cs
- FontStretches.cs
- SchemaReference.cs
- DataGridViewCellPaintingEventArgs.cs
- CompositeFontInfo.cs
- RegexCharClass.cs
- ReplacementText.cs
- StreamUpgradeAcceptor.cs
- SiteMapHierarchicalDataSourceView.cs
- recordstatescratchpad.cs
- _TLSstream.cs
- PropertyFilterAttribute.cs
- UnsafeNativeMethods.cs
- VisualTreeUtils.cs
- NavigationService.cs
- CodeTypeDelegate.cs
- PerspectiveCamera.cs
- LinkArea.cs
- XmlObjectSerializerReadContext.cs
- PixelFormatConverter.cs
- ConnectionOrientedTransportChannelListener.cs
- WebPartConnectionsCancelVerb.cs
- SqlXmlStorage.cs
- RowTypePropertyElement.cs
- FlowDocumentReaderAutomationPeer.cs
- NullableFloatSumAggregationOperator.cs
- PropertyPath.cs
- SchemaSetCompiler.cs
- HtmlInputReset.cs
- DependencyPropertyKind.cs
- TextElementEnumerator.cs
- OdbcParameter.cs
- Substitution.cs
- DataRelationPropertyDescriptor.cs
- SqlCachedBuffer.cs
- DbDataAdapter.cs
- versioninfo.cs
- ContentElement.cs
- ChineseLunisolarCalendar.cs
- ObjectCloneHelper.cs
- Exceptions.cs
- Debug.cs
- FormViewRow.cs
- ResourceReferenceExpression.cs
- XmlUtil.cs
- SelectionEditingBehavior.cs
- xmlsaver.cs
- shaper.cs
- DataControlField.cs
- TemplateBamlRecordReader.cs
- FormViewModeEventArgs.cs
- HttpListenerContext.cs
- QueryStringConverter.cs
- StaticExtension.cs
- DataGridViewDataConnection.cs
- CommandSet.cs
- ProxyGenerationError.cs
- Location.cs
- ObfuscationAttribute.cs
- SqlXmlStorage.cs
- DataQuery.cs
- SourceSwitch.cs
- PipelineModuleStepContainer.cs
- XAMLParseException.cs
- SqlDataSourceCustomCommandEditor.cs
- FileLogRecordStream.cs
- DoubleCollectionValueSerializer.cs
- DocumentNUp.cs
- TextRangeAdaptor.cs
- ImplicitInputBrush.cs
- ChildrenQuery.cs
- RankException.cs
- PageThemeBuildProvider.cs
- InvokeGenerator.cs