Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- XmlName.cs
- TypeConverter.cs
- mactripleDES.cs
- DataGridViewControlCollection.cs
- RectIndependentAnimationStorage.cs
- XPathNodeHelper.cs
- XmlConverter.cs
- Msec.cs
- RTLAwareMessageBox.cs
- BrushConverter.cs
- XmlEncodedRawTextWriter.cs
- SecureStringHasher.cs
- OdbcConnectionFactory.cs
- Models.cs
- SynchronousChannel.cs
- Int32RectValueSerializer.cs
- RawUIStateInputReport.cs
- HashCryptoHandle.cs
- OracleRowUpdatingEventArgs.cs
- TextReader.cs
- NameValueFileSectionHandler.cs
- DeclarativeCatalogPart.cs
- NetSectionGroup.cs
- JumpItem.cs
- Message.cs
- RSACryptoServiceProvider.cs
- ConfigurationErrorsException.cs
- SymbolEqualComparer.cs
- EdmProviderManifest.cs
- AsyncOperationManager.cs
- ExpressionEditorSheet.cs
- UpdatePanelTriggerCollection.cs
- AutomationAttributeInfo.cs
- QilVisitor.cs
- SmtpLoginAuthenticationModule.cs
- RichTextBoxAutomationPeer.cs
- HtmlEncodedRawTextWriter.cs
- WebPartEditorApplyVerb.cs
- OutputCacheSection.cs
- RuntimeIdentifierPropertyAttribute.cs
- ComplexBindingPropertiesAttribute.cs
- embossbitmapeffect.cs
- ByteRangeDownloader.cs
- NamedPermissionSet.cs
- TransactedBatchContext.cs
- RawStylusActions.cs
- DataObjectPastingEventArgs.cs
- ScalarRestriction.cs
- InvalidPrinterException.cs
- ToolStripPanelSelectionGlyph.cs
- RuntimeCompatibilityAttribute.cs
- Size.cs
- PointLight.cs
- InputLanguageSource.cs
- ErrorView.xaml.cs
- Point.cs
- DictionarySectionHandler.cs
- MarshalDirectiveException.cs
- ContentPlaceHolderDesigner.cs
- TimelineGroup.cs
- DuplicateWaitObjectException.cs
- ScrollProperties.cs
- WizardStepBase.cs
- Parameter.cs
- Relationship.cs
- SafeBitVector32.cs
- SessionStateModule.cs
- ToolBar.cs
- NumericUpDown.cs
- AuthenticationException.cs
- SearchForVirtualItemEventArgs.cs
- CollectionEditVerbManager.cs
- ElementAction.cs
- DataGridViewCellFormattingEventArgs.cs
- MediaSystem.cs
- UrlPath.cs
- ItemCollectionEditor.cs
- MailBnfHelper.cs
- BitmapCacheBrush.cs
- CodeLinePragma.cs
- XD.cs
- QilValidationVisitor.cs
- PageFunction.cs
- TypeDependencyAttribute.cs
- SqlConnectionFactory.cs
- HoistedLocals.cs
- DescendantOverDescendantQuery.cs
- DiscoveryMessageProperty.cs
- Graphics.cs
- TextRangeAdaptor.cs
- ConstantExpression.cs
- PointConverter.cs
- Inflater.cs
- NullableLongSumAggregationOperator.cs
- ConditionalBranch.cs
- ExpandSegmentCollection.cs
- ErasingStroke.cs
- PathFigure.cs
- WebServiceMethodData.cs
- DirectoryObjectSecurity.cs