Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- CodeTypeReference.cs
- FunctionImportElement.cs
- SqlFacetAttribute.cs
- StateManager.cs
- BaseParser.cs
- WindowShowOrOpenTracker.cs
- ExpressionNode.cs
- DesignerSerializationVisibilityAttribute.cs
- FillRuleValidation.cs
- WebPartConnectionCollection.cs
- HashMembershipCondition.cs
- WeakReferenceKey.cs
- RuntimeConfig.cs
- MetadataCache.cs
- NativeMethods.cs
- TableLayoutCellPaintEventArgs.cs
- DataBindingCollectionConverter.cs
- JsonCollectionDataContract.cs
- UriSectionData.cs
- SrgsDocumentParser.cs
- X509Certificate2.cs
- SoapEnumAttribute.cs
- DataSet.cs
- AutomationTextAttribute.cs
- SystemParameters.cs
- AttributeUsageAttribute.cs
- TcpClientSocketManager.cs
- WebPartAddingEventArgs.cs
- UserInitiatedNavigationPermission.cs
- ApplicationManager.cs
- ItemContainerPattern.cs
- FrameworkName.cs
- UnsafeNativeMethodsTablet.cs
- keycontainerpermission.cs
- AppSettingsSection.cs
- DataSetFieldSchema.cs
- BinaryObjectReader.cs
- FtpWebResponse.cs
- XmlIncludeAttribute.cs
- Privilege.cs
- ListSortDescriptionCollection.cs
- XsltException.cs
- TreeNodeStyleCollection.cs
- TdsParameterSetter.cs
- GeneralTransform.cs
- MaskDescriptors.cs
- SafeCryptoHandles.cs
- DefaultCommandConverter.cs
- KeyProperty.cs
- WebPartActionVerb.cs
- M3DUtil.cs
- BindableTemplateBuilder.cs
- ShaderRenderModeValidation.cs
- EntityDataSourceStatementEditorForm.cs
- DataGridViewCellParsingEventArgs.cs
- RowVisual.cs
- DataErrorValidationRule.cs
- SecureConversationDriver.cs
- StrokeFIndices.cs
- EmptyReadOnlyDictionaryInternal.cs
- ThreadExceptionDialog.cs
- SqlConnectionFactory.cs
- SourceFilter.cs
- HttpAsyncResult.cs
- ReflectionServiceProvider.cs
- listitem.cs
- LoginUtil.cs
- DecoderExceptionFallback.cs
- QuotaExceededException.cs
- HybridObjectCache.cs
- StringResourceManager.cs
- RadioButtonFlatAdapter.cs
- XsdCachingReader.cs
- CodeNamespaceImportCollection.cs
- SerializerWriterEventHandlers.cs
- ObjectListFieldCollection.cs
- InterleavedZipPartStream.cs
- DocumentReferenceCollection.cs
- XPathParser.cs
- ReadOnlyDictionary.cs
- Border.cs
- ClientSettingsProvider.cs
- SerialPort.cs
- FixedPageAutomationPeer.cs
- CodeEventReferenceExpression.cs
- TabControlAutomationPeer.cs
- MultiBindingExpression.cs
- SimpleApplicationHost.cs
- PresentationTraceSources.cs
- OracleConnectionString.cs
- BaseCollection.cs
- Light.cs
- SqlConnectionPoolGroupProviderInfo.cs
- HeaderedItemsControl.cs
- XmlDesignerDataSourceView.cs
- UrlPropertyAttribute.cs
- IndentedWriter.cs
- SingletonInstanceContextProvider.cs
- CollectionConverter.cs
- DataRowCollection.cs