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 / GiveFeedbackEvent.cs / 1 / GiveFeedbackEvent.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { using System.Diagnostics; //=-------------------------------------------------------------------------= // GiveFeedbackEventArgs.cs //=-------------------------------------------------------------------------= // Copyright (c) 1997 Microsoft Corporation. All Rights Reserved. // // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A // PARTICULAR PURPOSE. //=--------------------------------------------------------------------------= using System; using System.Drawing; using System.ComponentModel; using Microsoft.Win32; ////// /// [System.Runtime.InteropServices.ComVisible(true)] public class GiveFeedbackEventArgs : EventArgs { private readonly DragDropEffects effect; private bool useDefaultCursors; ////// Provides data for the ////// event. /// /// /// public GiveFeedbackEventArgs(DragDropEffects effect, bool useDefaultCursors) { this.effect = effect; this.useDefaultCursors = useDefaultCursors; } ////// Initializes a new instance of the ///class. /// /// /// public DragDropEffects Effect { get { return effect; } } ////// Gets the type of drag-and-drop operation. /// ////// /// public bool UseDefaultCursors { get { return useDefaultCursors; } set { useDefaultCursors = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// Gets or sets a /// value /// indicating whether a default pointer is used. /// ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { using System.Diagnostics; //=-------------------------------------------------------------------------= // GiveFeedbackEventArgs.cs //=-------------------------------------------------------------------------= // Copyright (c) 1997 Microsoft Corporation. All Rights Reserved. // // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A // PARTICULAR PURPOSE. //=--------------------------------------------------------------------------= using System; using System.Drawing; using System.ComponentModel; using Microsoft.Win32; ////// /// [System.Runtime.InteropServices.ComVisible(true)] public class GiveFeedbackEventArgs : EventArgs { private readonly DragDropEffects effect; private bool useDefaultCursors; ////// Provides data for the ////// event. /// /// /// public GiveFeedbackEventArgs(DragDropEffects effect, bool useDefaultCursors) { this.effect = effect; this.useDefaultCursors = useDefaultCursors; } ////// Initializes a new instance of the ///class. /// /// /// public DragDropEffects Effect { get { return effect; } } ////// Gets the type of drag-and-drop operation. /// ////// /// public bool UseDefaultCursors { get { return useDefaultCursors; } set { useDefaultCursors = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// Gets or sets a /// value /// indicating whether a default pointer is used. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SimpleMailWebEventProvider.cs
- FloaterParagraph.cs
- SafeSecurityHelper.cs
- CommandField.cs
- ColumnCollection.cs
- InfoCardRSAPKCS1SignatureDeformatter.cs
- xml.cs
- RegexRunnerFactory.cs
- PointAnimationBase.cs
- DetailsViewPageEventArgs.cs
- SqlDependencyUtils.cs
- ListViewInsertionMark.cs
- ToolStripMenuItem.cs
- CheckBoxList.cs
- OdbcError.cs
- AdapterDictionary.cs
- DesignerTransaction.cs
- DynamicQueryableWrapper.cs
- DBParameter.cs
- BamlLocalizationDictionary.cs
- SqlCacheDependencySection.cs
- PerformanceCountersElement.cs
- ConnectionManagementElementCollection.cs
- XamlInt32CollectionSerializer.cs
- WpfPayload.cs
- BinaryFormatterWriter.cs
- ReadContentAsBinaryHelper.cs
- UInt16Storage.cs
- DayRenderEvent.cs
- COM2FontConverter.cs
- ControlType.cs
- NamespaceInfo.cs
- VirtualPath.cs
- SmiMetaData.cs
- UpdateProgress.cs
- DbProviderServices.cs
- CssClassPropertyAttribute.cs
- PrivateFontCollection.cs
- TreeNodeEventArgs.cs
- PrtCap_Base.cs
- _WebProxyDataBuilder.cs
- SoapFault.cs
- LocatorPart.cs
- DataGridViewHitTestInfo.cs
- Funcletizer.cs
- ManifestSignedXml.cs
- DesignConnectionCollection.cs
- CompilerGlobalScopeAttribute.cs
- XmlNodeChangedEventArgs.cs
- UIElement.cs
- _IPv6Address.cs
- XpsFontSubsetter.cs
- TemplateEditingFrame.cs
- ListManagerBindingsCollection.cs
- AncillaryOps.cs
- SiteMap.cs
- SByteStorage.cs
- TemplateControlBuildProvider.cs
- DataPointer.cs
- Peer.cs
- mactripleDES.cs
- GrammarBuilderRuleRef.cs
- ObjectQueryState.cs
- BuildResult.cs
- DecoderNLS.cs
- DigitShape.cs
- Substitution.cs
- DatatypeImplementation.cs
- FacetChecker.cs
- DataException.cs
- HttpListenerResponse.cs
- TextProperties.cs
- CqlErrorHelper.cs
- Constraint.cs
- WhereQueryOperator.cs
- DbConnectionPoolOptions.cs
- BindingManagerDataErrorEventArgs.cs
- InkCollectionBehavior.cs
- DataSourceCache.cs
- WebCategoryAttribute.cs
- NestPullup.cs
- WebPartActionVerb.cs
- HostedHttpContext.cs
- FlowchartDesigner.Helpers.cs
- ValuePattern.cs
- GenericUriParser.cs
- WsatTransactionFormatter.cs
- ScriptControlManager.cs
- CodeExpressionCollection.cs
- GlyphingCache.cs
- TextFormatterImp.cs
- ScalarType.cs
- CharacterMetrics.cs
- EUCJPEncoding.cs
- HwndProxyElementProvider.cs
- HttpContext.cs
- _ConnectOverlappedAsyncResult.cs
- ReflectionTypeLoadException.cs
- MouseGesture.cs
- State.cs