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
- DependencySource.cs
- SqlLiftIndependentRowExpressions.cs
- XmlDictionary.cs
- DecimalConstantAttribute.cs
- Vector3D.cs
- SwitchAttribute.cs
- EncoderFallback.cs
- AssemblyCollection.cs
- Permission.cs
- DataSysAttribute.cs
- FormViewUpdatedEventArgs.cs
- HtmlMeta.cs
- BypassElement.cs
- DataGridViewRowsAddedEventArgs.cs
- MsdtcClusterUtils.cs
- DbDataSourceEnumerator.cs
- PowerModeChangedEventArgs.cs
- ReflectPropertyDescriptor.cs
- ComplexPropertyEntry.cs
- LogicalCallContext.cs
- _SslSessionsCache.cs
- TextServicesCompartmentContext.cs
- SequenceDesigner.cs
- Wow64ConfigurationLoader.cs
- DoubleMinMaxAggregationOperator.cs
- IndentedWriter.cs
- HitTestWithGeometryDrawingContextWalker.cs
- CultureSpecificStringDictionary.cs
- Dynamic.cs
- XmlAttributeOverrides.cs
- Decimal.cs
- DataGridViewMethods.cs
- HttpWebResponse.cs
- FormViewInsertEventArgs.cs
- Double.cs
- PropertyFilterAttribute.cs
- WorkflowApplicationEventArgs.cs
- DoubleLinkListEnumerator.cs
- SafeFileMapViewHandle.cs
- SqlUserDefinedTypeAttribute.cs
- ProcessHostConfigUtils.cs
- RelationshipConverter.cs
- PolicyLevel.cs
- ActionNotSupportedException.cs
- Error.cs
- TextTrailingWordEllipsis.cs
- DSASignatureFormatter.cs
- EngineSite.cs
- URLAttribute.cs
- SqlOuterApplyReducer.cs
- NamespaceList.cs
- WS2007FederationHttpBinding.cs
- MobileTextWriter.cs
- SByte.cs
- WebServiceReceiveDesigner.cs
- HwndSourceParameters.cs
- ColorBuilder.cs
- SchemaAttDef.cs
- ColorMap.cs
- XmlExceptionHelper.cs
- CustomCategoryAttribute.cs
- BackStopAuthenticationModule.cs
- FlowchartSizeFeature.cs
- GZipStream.cs
- PeerTransportSecurityElement.cs
- Rotation3DKeyFrameCollection.cs
- AppSettingsExpressionBuilder.cs
- MessageFormatterConverter.cs
- SharedPerformanceCounter.cs
- TopClause.cs
- SessionPageStatePersister.cs
- Transform.cs
- PowerModeChangedEventArgs.cs
- ResXBuildProvider.cs
- EventSourceCreationData.cs
- PagedDataSource.cs
- TreeBuilderBamlTranslator.cs
- ToolboxItemLoader.cs
- CodeBlockBuilder.cs
- CellParaClient.cs
- FragmentNavigationEventArgs.cs
- XmlMembersMapping.cs
- TableProvider.cs
- MatrixStack.cs
- WebChannelFactory.cs
- PropertyGridView.cs
- ComMethodElementCollection.cs
- IdentifierCreationService.cs
- PathGradientBrush.cs
- DiagnosticsConfiguration.cs
- Condition.cs
- CodeTypeReferenceSerializer.cs
- RuntimeHandles.cs
- BitmapEffectGroup.cs
- FlowDocumentView.cs
- TrimSurroundingWhitespaceAttribute.cs
- SessionStateUtil.cs
- SiteMapNodeCollection.cs
- ErrorFormatterPage.cs
- Command.cs