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
- selecteditemcollection.cs
- FormatVersion.cs
- TogglePattern.cs
- ExpressionBinding.cs
- XmlElementCollection.cs
- HttpApplicationFactory.cs
- CollectionAdapters.cs
- VectorKeyFrameCollection.cs
- RtfNavigator.cs
- TextWriterTraceListener.cs
- EDesignUtil.cs
- EncryptedType.cs
- SmtpReplyReaderFactory.cs
- InfoCardMasterKey.cs
- LineSegment.cs
- EventLogPropertySelector.cs
- EntityDataSourceChangingEventArgs.cs
- QueryPrefixOp.cs
- MutexSecurity.cs
- PingOptions.cs
- BamlCollectionHolder.cs
- TimeSpanSecondsConverter.cs
- CustomAttributeBuilder.cs
- CodePrimitiveExpression.cs
- AddInIpcChannel.cs
- DispatcherFrame.cs
- HwndSourceParameters.cs
- HeaderedItemsControl.cs
- VisemeEventArgs.cs
- EventDrivenDesigner.cs
- ThreadPool.cs
- PageSettings.cs
- DateTimeFormatInfo.cs
- SapiRecoContext.cs
- CheckBoxField.cs
- SettingsPropertyNotFoundException.cs
- TextServicesPropertyRanges.cs
- TwoPhaseCommit.cs
- DataSourceView.cs
- FixedSOMPageElement.cs
- ExtenderProvidedPropertyAttribute.cs
- ProgramNode.cs
- DataGridColumnDropSeparator.cs
- x509utils.cs
- ChangePassword.cs
- TTSVoice.cs
- TaskExtensions.cs
- BulletChrome.cs
- ContractMethodInfo.cs
- SwitchLevelAttribute.cs
- FormViewCommandEventArgs.cs
- ArgumentOutOfRangeException.cs
- GroupItem.cs
- XmlDataContract.cs
- PropertyChangedEventManager.cs
- WindowsProgressbar.cs
- XPathParser.cs
- SiteMapNodeItemEventArgs.cs
- PolicyStatement.cs
- SHA1Cng.cs
- PackageProperties.cs
- EncoderParameters.cs
- MailDefinition.cs
- BoolExpr.cs
- AnnotationHelper.cs
- SatelliteContractVersionAttribute.cs
- RangeValueProviderWrapper.cs
- StoreContentChangedEventArgs.cs
- TemplateNameScope.cs
- MultiPartWriter.cs
- CodeDirectiveCollection.cs
- XmlElementCollection.cs
- DataKey.cs
- GregorianCalendarHelper.cs
- Helpers.cs
- EventNotify.cs
- ProfileService.cs
- WizardPanel.cs
- DBAsyncResult.cs
- PageFunction.cs
- TypeName.cs
- DNS.cs
- HuffModule.cs
- DecoderReplacementFallback.cs
- WorkflowRuntimeServiceElementCollection.cs
- HostedHttpContext.cs
- IdnMapping.cs
- GridLengthConverter.cs
- SchemaObjectWriter.cs
- ListViewTableRow.cs
- AlternateView.cs
- DataControlLinkButton.cs
- DispatcherOperation.cs
- Int32KeyFrameCollection.cs
- Geometry3D.cs
- DeleteStoreRequest.cs
- DispatcherProcessingDisabled.cs
- CodeGen.cs
- EntityContainerRelationshipSetEnd.cs
- PhysicalOps.cs