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 / HandledMouseEvent.cs / 1 / HandledMouseEvent.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { ///public class HandledMouseEventArgs : MouseEventArgs { /// /// Indicates, on return, whether or not the event was handled in the application's event handler. /// 'true' means the application handled the event, 'false' means it didn't. /// private bool handled; ///public HandledMouseEventArgs(MouseButtons button, int clicks, int x, int y, int delta) : this(button, clicks, x, y, delta, false) { } /// public HandledMouseEventArgs(MouseButtons button, int clicks, int x, int y, int delta, bool defaultHandledValue) : base(button, clicks, x, y, delta) { this.handled = defaultHandledValue; } /// /// /// public bool Handled { get { return this.handled; } set { this.handled = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// Gets or sets a value /// indicating whether the event is handled. /// ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { ///public class HandledMouseEventArgs : MouseEventArgs { /// /// Indicates, on return, whether or not the event was handled in the application's event handler. /// 'true' means the application handled the event, 'false' means it didn't. /// private bool handled; ///public HandledMouseEventArgs(MouseButtons button, int clicks, int x, int y, int delta) : this(button, clicks, x, y, delta, false) { } /// public HandledMouseEventArgs(MouseButtons button, int clicks, int x, int y, int delta, bool defaultHandledValue) : base(button, clicks, x, y, delta) { this.handled = defaultHandledValue; } /// /// /// public bool Handled { get { return this.handled; } set { this.handled = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// Gets or sets a value /// indicating whether the event is handled. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ListControl.cs
- TemplateBindingExpression.cs
- DynamicActionMessageFilter.cs
- SmiEventSink.cs
- DesigntimeLicenseContext.cs
- EventWaitHandle.cs
- StringConverter.cs
- PointCollectionConverter.cs
- AssertValidation.cs
- SocketAddress.cs
- XhtmlBasicTextBoxAdapter.cs
- cookieexception.cs
- ObjectListFieldCollection.cs
- XmlExpressionDumper.cs
- SelectorItemAutomationPeer.cs
- WithParamAction.cs
- DesignerSerializerAttribute.cs
- AnnotationComponentManager.cs
- TypeDescriptionProviderAttribute.cs
- LicenseContext.cs
- DocobjHost.cs
- FontSourceCollection.cs
- HierarchicalDataTemplate.cs
- SelectionHighlightInfo.cs
- SerializationSectionGroup.cs
- ColumnCollection.cs
- AddInAdapter.cs
- UntrustedRecipientException.cs
- TextEmbeddedObject.cs
- FormatterServices.cs
- DeferredReference.cs
- LockRecursionException.cs
- PersonalizableTypeEntry.cs
- XPathNodeInfoAtom.cs
- BadImageFormatException.cs
- XmlSchemaImporter.cs
- LocalizableResourceBuilder.cs
- EntityCollection.cs
- SafeRegistryKey.cs
- CodeTypeReferenceCollection.cs
- JavaScriptObjectDeserializer.cs
- XmlWrappingReader.cs
- SupportsPreviewControlAttribute.cs
- ClrPerspective.cs
- OpCodes.cs
- DesignerActionTextItem.cs
- OdbcConnectionFactory.cs
- PropertyInfoSet.cs
- GroupDescription.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- CompleteWizardStep.cs
- StringConcat.cs
- UpdateManifestForBrowserApplication.cs
- ClientData.cs
- MarkupExtensionReturnTypeAttribute.cs
- COAUTHINFO.cs
- ResourceProviderFactory.cs
- ProfessionalColors.cs
- DragDrop.cs
- _SecureChannel.cs
- RightsManagementResourceHelper.cs
- CharacterMetrics.cs
- EventlogProvider.cs
- DataSvcMapFileSerializer.cs
- TaskFileService.cs
- LogReserveAndAppendState.cs
- TableRowCollection.cs
- Internal.cs
- DebugView.cs
- compensatingcollection.cs
- QilSortKey.cs
- XmlCustomFormatter.cs
- ProfileProvider.cs
- ComplexObject.cs
- HtmlInputText.cs
- RuntimeResourceSet.cs
- ProxyElement.cs
- safelink.cs
- Crc32Helper.cs
- DoubleLink.cs
- Variant.cs
- GeometryGroup.cs
- BackgroundWorker.cs
- ItemList.cs
- RuntimeEnvironment.cs
- TextDecorations.cs
- ActiveXSite.cs
- BindingMAnagerBase.cs
- EventSchemaTraceListener.cs
- RedirectionProxy.cs
- OleTxTransactionInfo.cs
- EntityUtil.cs
- VersionUtil.cs
- ListBoxItemWrapperAutomationPeer.cs
- OdbcEnvironment.cs
- ResXResourceReader.cs
- DataSourceCacheDurationConverter.cs
- FontFaceLayoutInfo.cs
- BuildProviderAppliesToAttribute.cs
- UIElementAutomationPeer.cs