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
- controlskin.cs
- MemberExpressionHelper.cs
- XmlLangPropertyAttribute.cs
- KeyValuePair.cs
- COM2ColorConverter.cs
- DataBoundControlHelper.cs
- HyperLink.cs
- DataServiceSaveChangesEventArgs.cs
- ButtonPopupAdapter.cs
- AnnotationAuthorChangedEventArgs.cs
- DefaultTypeArgumentAttribute.cs
- String.cs
- Transform3DGroup.cs
- Hashtable.cs
- Bits.cs
- WindowVisualStateTracker.cs
- TableLayoutRowStyleCollection.cs
- FileDialog.cs
- InfiniteTimeSpanConverter.cs
- CodeFieldReferenceExpression.cs
- SizeConverter.cs
- PackageRelationshipSelector.cs
- XPathMessageFilterElementCollection.cs
- CellPartitioner.cs
- ModuleBuilder.cs
- XmlCustomFormatter.cs
- TextEmbeddedObject.cs
- TextureBrush.cs
- CompositeCollection.cs
- TypeHelpers.cs
- HtmlInputSubmit.cs
- CookieHandler.cs
- RowToFieldTransformer.cs
- DynamicRenderer.cs
- TrackingParticipant.cs
- AssemblyAttributesGoHere.cs
- UriParserTemplates.cs
- FrugalMap.cs
- entitydatasourceentitysetnameconverter.cs
- XPathNodePointer.cs
- QueryStringParameter.cs
- FontWeights.cs
- ResourceDisplayNameAttribute.cs
- CqlIdentifiers.cs
- ComEventsInfo.cs
- MorphHelper.cs
- EntityModelBuildProvider.cs
- TemplatedMailWebEventProvider.cs
- CryptoHandle.cs
- ChangeProcessor.cs
- DeploymentSection.cs
- TraceListeners.cs
- ExpressionParser.cs
- SiteMapDesignerDataSourceView.cs
- ResolveNameEventArgs.cs
- DataGridState.cs
- DataGridRowAutomationPeer.cs
- MemoryRecordBuffer.cs
- UnsafePeerToPeerMethods.cs
- RowUpdatedEventArgs.cs
- Utils.cs
- UnaryNode.cs
- PathFigure.cs
- HtmlTableCellCollection.cs
- WeakKeyDictionary.cs
- ExceptionUtil.cs
- HybridObjectCache.cs
- SafeThemeHandle.cs
- Expander.cs
- ReadOnlyPropertyMetadata.cs
- ConsumerConnectionPoint.cs
- ApplicationHost.cs
- ExpandoObject.cs
- XmlNamedNodeMap.cs
- SimpleTypeResolver.cs
- CodeMethodReturnStatement.cs
- DateTimeParse.cs
- FloatUtil.cs
- TargetException.cs
- HttpDateParse.cs
- OperatingSystem.cs
- AssemblyAttributes.cs
- QuaternionAnimation.cs
- SqlBulkCopy.cs
- ToolBar.cs
- Speller.cs
- FloatUtil.cs
- Contracts.cs
- ConfigurationProperty.cs
- SpecialNameAttribute.cs
- Char.cs
- ObjectDataSourceView.cs
- BufferCache.cs
- SessionParameter.cs
- TableStyle.cs
- CheckedPointers.cs
- XmlAttributes.cs
- ValuePattern.cs
- __Error.cs
- TextBlock.cs