Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / HandledMouseEvent.cs / 1305376 / 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
- _NestedMultipleAsyncResult.cs
- ListItemConverter.cs
- HttpPostedFile.cs
- WebRequestModuleElement.cs
- StylusButtonCollection.cs
- PrintDialogException.cs
- SecurityException.cs
- OutputScope.cs
- EntityParameter.cs
- EncoderParameters.cs
- WebBrowsableAttribute.cs
- remotingproxy.cs
- documentsequencetextview.cs
- DataViewManager.cs
- SystemBrushes.cs
- DrawingContextWalker.cs
- ListViewItemMouseHoverEvent.cs
- FixedTextContainer.cs
- embossbitmapeffect.cs
- MILUtilities.cs
- DBParameter.cs
- SafeSecurityHandles.cs
- Intellisense.cs
- TypeSystem.cs
- GPRECT.cs
- DateTimeFormatInfo.cs
- SessionKeyExpiredException.cs
- OpacityConverter.cs
- InputGestureCollection.cs
- XXXOnTypeBuilderInstantiation.cs
- ChangePassword.cs
- Timer.cs
- _CacheStreams.cs
- TypeExtensionConverter.cs
- IndicShape.cs
- DataGridViewButtonCell.cs
- ValidatedControlConverter.cs
- EdmComplexTypeAttribute.cs
- RuntimeWrappedException.cs
- ImportStoreException.cs
- EntityModelSchemaGenerator.cs
- ToolStripManager.cs
- unsafeIndexingFilterStream.cs
- DateTimeOffset.cs
- UnsafeNativeMethods.cs
- MSHTMLHost.cs
- RestHandlerFactory.cs
- RoleManagerModule.cs
- ExtensionQuery.cs
- RegionData.cs
- CfgSemanticTag.cs
- ToolStripItemDataObject.cs
- IntSecurity.cs
- ToolStripDesignerAvailabilityAttribute.cs
- CodeCommentStatementCollection.cs
- ApplicationSecurityManager.cs
- ParameterExpression.cs
- QilLiteral.cs
- LeftCellWrapper.cs
- XmlQuerySequence.cs
- OlePropertyStructs.cs
- AttachedPropertiesService.cs
- DataTablePropertyDescriptor.cs
- WsatRegistrationHeader.cs
- TraceEventCache.cs
- Set.cs
- RegexInterpreter.cs
- DataColumn.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- ParserOptions.cs
- InplaceBitmapMetadataWriter.cs
- WorkflowShape.cs
- Models.cs
- AccessKeyManager.cs
- LambdaCompiler.Logical.cs
- TargetConverter.cs
- WorkflowHostingEndpoint.cs
- Timeline.cs
- ProfessionalColors.cs
- OdbcTransaction.cs
- StatusBarItemAutomationPeer.cs
- DesignSurfaceCollection.cs
- SessionPageStatePersister.cs
- ChangeTracker.cs
- ElementUtil.cs
- ServiceErrorHandler.cs
- Column.cs
- InstanceDataCollectionCollection.cs
- ByteRangeDownloader.cs
- DateTimeOffsetStorage.cs
- HandleCollector.cs
- SingletonConnectionReader.cs
- HierarchicalDataSourceIDConverter.cs
- StateItem.cs
- _CookieModule.cs
- ObjectStateEntryDbDataRecord.cs
- Vector3DConverter.cs
- CustomValidator.cs
- ProgramPublisher.cs
- SerialReceived.cs