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
- TrustManagerMoreInformation.cs
- KeyValueInternalCollection.cs
- HtmlMeta.cs
- SizeChangedEventArgs.cs
- DictionaryContent.cs
- EventLogTraceListener.cs
- NumberAction.cs
- AssemblyResourceLoader.cs
- PropertyGridView.cs
- ConstructorBuilder.cs
- ResolvedKeyFrameEntry.cs
- NameSpaceEvent.cs
- XamlStackWriter.cs
- mansign.cs
- XmlSchemaResource.cs
- QilBinary.cs
- MetadataCache.cs
- CLRBindingWorker.cs
- ToolConsole.cs
- FunctionMappingTranslator.cs
- ZoneMembershipCondition.cs
- PropertyGrid.cs
- EntityDesignerUtils.cs
- WebBrowser.cs
- ProgressBarAutomationPeer.cs
- HttpContext.cs
- PerfCounters.cs
- ButtonStandardAdapter.cs
- PlainXmlWriter.cs
- ViewGenResults.cs
- TextMarkerSource.cs
- Win32Exception.cs
- SafeProcessHandle.cs
- OptionUsage.cs
- WebBrowserDocumentCompletedEventHandler.cs
- CodeParameterDeclarationExpressionCollection.cs
- BoundField.cs
- DataServiceRequestArgs.cs
- UTF32Encoding.cs
- CategoriesDocumentFormatter.cs
- ThicknessKeyFrameCollection.cs
- SecurityKeyUsage.cs
- RequestCacheEntry.cs
- GridView.cs
- SingleConverter.cs
- Shape.cs
- SerializationSectionGroup.cs
- CodeLabeledStatement.cs
- ListBox.cs
- ContainerSelectorGlyph.cs
- ObjectStateEntryOriginalDbUpdatableDataRecord.cs
- JpegBitmapDecoder.cs
- _LocalDataStore.cs
- PageFunction.cs
- Message.cs
- ClipboardData.cs
- XPathSelectionIterator.cs
- QueryStatement.cs
- FullTextState.cs
- XpsFilter.cs
- RightsManagementEncryptionTransform.cs
- SingletonConnectionReader.cs
- BaseDataBoundControlDesigner.cs
- DragDrop.cs
- XmlKeywords.cs
- StorageModelBuildProvider.cs
- Timeline.cs
- PartialCachingAttribute.cs
- EmbossBitmapEffect.cs
- PostBackTrigger.cs
- TimeSpanSecondsConverter.cs
- NamedPipeProcessProtocolHandler.cs
- TextAutomationPeer.cs
- WSAddressing10ProblemHeaderQNameFault.cs
- CustomExpressionEventArgs.cs
- FolderBrowserDialog.cs
- ConfigurationValidatorAttribute.cs
- UInt16.cs
- SiteMapNode.cs
- GlyphInfoList.cs
- AsnEncodedData.cs
- SqlDataSourceStatusEventArgs.cs
- HtmlImageAdapter.cs
- ApplicationTrust.cs
- RenderingEventArgs.cs
- RotateTransform.cs
- CaretElement.cs
- TreeNodeCollection.cs
- XhtmlBasicLabelAdapter.cs
- LabelLiteral.cs
- PriorityQueue.cs
- Hex.cs
- coordinatorscratchpad.cs
- TemplateBuilder.cs
- BevelBitmapEffect.cs
- Point4D.cs
- ConfigXmlElement.cs
- UseLicense.cs
- SiteMembershipCondition.cs
- GeometryModel3D.cs