Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- SettingsProviderCollection.cs
- UrlPath.cs
- HttpCacheVaryByContentEncodings.cs
- FtpRequestCacheValidator.cs
- SecurityHelper.cs
- ConnectionsZone.cs
- DataGridHelper.cs
- webclient.cs
- _DisconnectOverlappedAsyncResult.cs
- nulltextnavigator.cs
- __FastResourceComparer.cs
- ClockGroup.cs
- RemoveFromCollection.cs
- OleDbRowUpdatingEvent.cs
- ButtonField.cs
- DayRenderEvent.cs
- PenContexts.cs
- HttpHandlerAction.cs
- DoWorkEventArgs.cs
- DataObject.cs
- SiteMapPath.cs
- XmlWhitespace.cs
- DataDocumentXPathNavigator.cs
- ProtectedConfigurationSection.cs
- GestureRecognizer.cs
- DesignTimeTemplateParser.cs
- DataRowExtensions.cs
- CqlLexerHelpers.cs
- peersecurityelement.cs
- SystemIcmpV6Statistics.cs
- Constraint.cs
- WebServiceEnumData.cs
- MetadataItemEmitter.cs
- SqlBulkCopyColumnMapping.cs
- RecipientInfo.cs
- CodeIdentifier.cs
- EtwTrace.cs
- RedirectionProxy.cs
- TextTrailingWordEllipsis.cs
- TagMapCollection.cs
- CodeParameterDeclarationExpressionCollection.cs
- ImplicitInputBrush.cs
- Internal.cs
- PictureBox.cs
- WrappedKeySecurityToken.cs
- XmlSchemaDocumentation.cs
- XmlBufferedByteStreamReader.cs
- Parser.cs
- FlowDocumentScrollViewerAutomationPeer.cs
- ClientRolePrincipal.cs
- figurelength.cs
- parserscommon.cs
- VectorCollection.cs
- DeadCharTextComposition.cs
- ModelItemKeyValuePair.cs
- UrlMappingCollection.cs
- AllowedAudienceUriElement.cs
- ClientBuildManagerCallback.cs
- TokenBasedSet.cs
- ClientSettings.cs
- XhtmlConformanceSection.cs
- ElementHostAutomationPeer.cs
- DbProviderSpecificTypePropertyAttribute.cs
- TraceSource.cs
- _Semaphore.cs
- GestureRecognitionResult.cs
- FormattedText.cs
- ButtonBaseAdapter.cs
- DataPagerFieldItem.cs
- ReflectionTypeLoadException.cs
- OptionalRstParameters.cs
- SystemIPGlobalStatistics.cs
- UniqueSet.cs
- StickyNoteContentControl.cs
- DrawingGroup.cs
- ThreadStaticAttribute.cs
- CallbackTimeoutsBehavior.cs
- LocatorGroup.cs
- TextServicesPropertyRanges.cs
- BmpBitmapDecoder.cs
- SchemaObjectWriter.cs
- RawKeyboardInputReport.cs
- QueryableDataSource.cs
- SchemaRegistration.cs
- LogManagementAsyncResult.cs
- XsltSettings.cs
- XPathScanner.cs
- XsltLoader.cs
- Suspend.cs
- FunctionNode.cs
- WindowsPen.cs
- WebControlParameterProxy.cs
- SqlRemoveConstantOrderBy.cs
- LinkButton.cs
- ResourcePool.cs
- VariableModifiersHelper.cs
- CodeDelegateInvokeExpression.cs
- DrawingDrawingContext.cs
- XmlArrayItemAttribute.cs
- FormsAuthenticationCredentials.cs