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
- ExtenderProvidedPropertyAttribute.cs
- XPathScanner.cs
- ByeMessageCD1.cs
- BrushMappingModeValidation.cs
- XNodeSchemaApplier.cs
- DirtyTextRange.cs
- BasePattern.cs
- ConsoleKeyInfo.cs
- TextBoxBase.cs
- AtomServiceDocumentSerializer.cs
- TemplateBamlRecordReader.cs
- FixedHyperLink.cs
- EmbeddedObject.cs
- Internal.cs
- MenuCommand.cs
- Brush.cs
- EdmToObjectNamespaceMap.cs
- DataDocumentXPathNavigator.cs
- SchemaConstraints.cs
- EntityDataSourceSelectingEventArgs.cs
- KeyInterop.cs
- CellPartitioner.cs
- StorageSetMapping.cs
- RotateTransform.cs
- DataColumnMapping.cs
- TransactionOptions.cs
- HttpRuntimeSection.cs
- QueryExtender.cs
- DriveInfo.cs
- _ConnectionGroup.cs
- TextParaClient.cs
- EventSinkHelperWriter.cs
- GestureRecognitionResult.cs
- _NtlmClient.cs
- ProviderIncompatibleException.cs
- ApplicationHost.cs
- EditorPart.cs
- ToolStripMenuItem.cs
- GridItemPattern.cs
- EntityReference.cs
- XslVisitor.cs
- NullableBoolConverter.cs
- Compiler.cs
- Int32Rect.cs
- SystemIcmpV6Statistics.cs
- RepeatBehaviorConverter.cs
- AssemblyCache.cs
- IdentitySection.cs
- Parameter.cs
- WorkflowServiceBehavior.cs
- URI.cs
- SoapElementAttribute.cs
- ProjectionPlan.cs
- SessionEndingCancelEventArgs.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- TextOptions.cs
- LineUtil.cs
- KeyEvent.cs
- InputLangChangeRequestEvent.cs
- baseaxisquery.cs
- TraceContextEventArgs.cs
- SelectionBorderGlyph.cs
- ByteKeyFrameCollection.cs
- HealthMonitoringSectionHelper.cs
- FileUpload.cs
- DeviceContexts.cs
- ImageInfo.cs
- ItemsControl.cs
- WebPermission.cs
- DataGridItem.cs
- Matrix3DConverter.cs
- BinarySerializer.cs
- WebBrowsableAttribute.cs
- DataGridViewCellStyle.cs
- Int32Animation.cs
- COM2ICategorizePropertiesHandler.cs
- PrintPageEvent.cs
- TreeNodeCollection.cs
- RelativeSource.cs
- XmlTextWriter.cs
- FlowDocumentScrollViewerAutomationPeer.cs
- IsolationInterop.cs
- DataServiceRequest.cs
- CharacterHit.cs
- KoreanLunisolarCalendar.cs
- SafeNativeMethods.cs
- PerformanceCountersElement.cs
- LiteralControl.cs
- CodeIndexerExpression.cs
- DatatypeImplementation.cs
- ObjectRef.cs
- NativeConfigurationLoader.cs
- X509SecurityTokenProvider.cs
- ExtenderProvidedPropertyAttribute.cs
- GenericIdentity.cs
- XamlTypeMapperSchemaContext.cs
- safelinkcollection.cs
- KeyManager.cs
- RichTextBox.cs
- COM2Enum.cs