Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- ConnectionPoint.cs
- SystemIPGlobalStatistics.cs
- KeyValuePairs.cs
- StartUpEventArgs.cs
- Operand.cs
- PolyQuadraticBezierSegmentFigureLogic.cs
- WinFormsUtils.cs
- NegotiateStream.cs
- HtmlLink.cs
- SQLGuidStorage.cs
- RelationshipConstraintValidator.cs
- RelatedPropertyManager.cs
- LogWriteRestartAreaAsyncResult.cs
- SourceLocationProvider.cs
- SqlHelper.cs
- PersistenceProvider.cs
- LocatorGroup.cs
- ModuleBuilder.cs
- XmlTextReaderImpl.cs
- PerformanceCounterManager.cs
- CallbackWrapper.cs
- DynamicResourceExtension.cs
- HttpWebRequest.cs
- ChannelTokenTypeConverter.cs
- MenuItem.cs
- LineGeometry.cs
- CallTemplateAction.cs
- SQLSingleStorage.cs
- NullRuntimeConfig.cs
- ToolStripComboBox.cs
- GridViewCommandEventArgs.cs
- DataPagerFieldCommandEventArgs.cs
- Substitution.cs
- CommandEventArgs.cs
- SqlCacheDependency.cs
- XPathExpr.cs
- Line.cs
- WorkflowTerminatedException.cs
- UpnEndpointIdentityExtension.cs
- ContainerUtilities.cs
- DataSourceCache.cs
- DateTimeFormatInfo.cs
- Color.cs
- DefaultTraceListener.cs
- xdrvalidator.cs
- StringCollection.cs
- DataGridViewCellContextMenuStripNeededEventArgs.cs
- CodeNamespaceImportCollection.cs
- Screen.cs
- SqlSelectStatement.cs
- Size.cs
- ProcessInfo.cs
- DataControlPagerLinkButton.cs
- HttpClientCertificate.cs
- RepeaterItemEventArgs.cs
- SevenBitStream.cs
- RubberbandSelector.cs
- WebBrowser.cs
- SystemWebCachingSectionGroup.cs
- TreeChangeInfo.cs
- TextRange.cs
- mediaclock.cs
- RelationshipConverter.cs
- PeerMaintainer.cs
- PowerModeChangedEventArgs.cs
- VirtualizedItemPattern.cs
- BitmapCodecInfo.cs
- CompensateDesigner.cs
- RsaSecurityToken.cs
- Accessible.cs
- XhtmlBasicListAdapter.cs
- diagnosticsswitches.cs
- Label.cs
- NotificationContext.cs
- TextPatternIdentifiers.cs
- BaseDataBoundControl.cs
- DirectoryObjectSecurity.cs
- HtmlGenericControl.cs
- ServiceRoute.cs
- ValueProviderWrapper.cs
- ScopelessEnumAttribute.cs
- RelationshipConverter.cs
- DrawingBrush.cs
- filewebrequest.cs
- BamlLocalizableResource.cs
- EllipticalNodeOperations.cs
- IListConverters.cs
- UTF32Encoding.cs
- SpecularMaterial.cs
- SynchronousReceiveBehavior.cs
- BinaryFormatter.cs
- PropertyGridCommands.cs
- safelinkcollection.cs
- PeerDuplexChannelListener.cs
- CookieParameter.cs
- ContainsSearchOperator.cs
- XsdBuildProvider.cs
- CmsInterop.cs
- AccessibilityHelperForVista.cs
- DataGridRow.cs