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
- FusionWrap.cs
- SignedXml.cs
- RequestCache.cs
- DayRenderEvent.cs
- VisualBasicReference.cs
- UnsafeNativeMethods.cs
- ActiveXHost.cs
- BooleanSwitch.cs
- Message.cs
- TemplateColumn.cs
- HtmlButton.cs
- WebRequestModuleElementCollection.cs
- FlowDocumentPageViewerAutomationPeer.cs
- DBConnection.cs
- OraclePermissionAttribute.cs
- DataListItem.cs
- GrammarBuilderBase.cs
- LateBoundBitmapDecoder.cs
- MouseWheelEventArgs.cs
- MailBnfHelper.cs
- MatcherBuilder.cs
- Profiler.cs
- HttpProfileBase.cs
- CodeAssignStatement.cs
- ConstructorBuilder.cs
- ImplicitInputBrush.cs
- Cursors.cs
- EventManager.cs
- VariableAction.cs
- DbProviderConfigurationHandler.cs
- ConfigXmlElement.cs
- TreeNodeEventArgs.cs
- PropertyBuilder.cs
- ReadOnlyHierarchicalDataSourceView.cs
- GroupItem.cs
- DataIdProcessor.cs
- SamlDelegatingWriter.cs
- HttpCachePolicy.cs
- mansign.cs
- MSAAWinEventWrap.cs
- KnownTypesProvider.cs
- counter.cs
- ListSourceHelper.cs
- FragmentQuery.cs
- SoundPlayer.cs
- Image.cs
- DataObjectMethodAttribute.cs
- Compiler.cs
- HtmlValidatorAdapter.cs
- HostedElements.cs
- Site.cs
- DataList.cs
- InheritablePropertyChangeInfo.cs
- X509SecurityToken.cs
- OracleParameter.cs
- SyntaxCheck.cs
- Int64Storage.cs
- PeerInputChannelListener.cs
- HostedElements.cs
- DeferredSelectedIndexReference.cs
- TimeIntervalCollection.cs
- ProtocolsConfiguration.cs
- ErrorRuntimeConfig.cs
- UntrustedRecipientException.cs
- DoubleAnimationUsingPath.cs
- ObjectParameter.cs
- GridViewHeaderRowPresenterAutomationPeer.cs
- FlowLayoutSettings.cs
- ObjectReaderCompiler.cs
- RuleSetDialog.Designer.cs
- HtmlGenericControl.cs
- FixUp.cs
- InvocationExpression.cs
- DocumentDesigner.cs
- PasswordPropertyTextAttribute.cs
- AppearanceEditorPart.cs
- UnsupportedPolicyOptionsException.cs
- MultiAsyncResult.cs
- InvalidPropValue.cs
- TokenBasedSetEnumerator.cs
- ColumnTypeConverter.cs
- AssemblyInfo.cs
- WebServiceData.cs
- ConstraintCollection.cs
- TypeInitializationException.cs
- MenuItem.cs
- VoiceChangeEventArgs.cs
- cookie.cs
- Transform.cs
- RelationHandler.cs
- ParsedRoute.cs
- HttpApplicationFactory.cs
- AutomationTextAttribute.cs
- Geometry3D.cs
- EncryptedType.cs
- DelayedRegex.cs
- MaxMessageSizeStream.cs
- CodeDOMUtility.cs
- PageAdapter.cs
- ValueOfAction.cs