Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- LinearKeyFrames.cs
- TraceProvider.cs
- EventRouteFactory.cs
- OpacityConverter.cs
- HttpListenerRequest.cs
- ArrayTypeMismatchException.cs
- SendKeys.cs
- NetworkStream.cs
- HttpRequestCacheValidator.cs
- CodeEntryPointMethod.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs
- MetadataPropertyAttribute.cs
- DataViewManager.cs
- DataGrid.cs
- SecureEnvironment.cs
- ReferenceService.cs
- CompiledXpathExpr.cs
- Timer.cs
- DirectoryInfo.cs
- contentDescriptor.cs
- XmlSchemaSimpleContent.cs
- Timer.cs
- ObjectStateEntryDbUpdatableDataRecord.cs
- NameValueCollection.cs
- CustomUserNameSecurityTokenAuthenticator.cs
- TextWriter.cs
- PartialCachingAttribute.cs
- AddInAttribute.cs
- EnvironmentPermission.cs
- XmlAttribute.cs
- XPathDocumentNavigator.cs
- DataGridAddNewRow.cs
- ContainerControlDesigner.cs
- CompleteWizardStep.cs
- AsynchronousChannelMergeEnumerator.cs
- DataGridViewTextBoxCell.cs
- PageAdapter.cs
- TextElementEnumerator.cs
- _SpnDictionary.cs
- DrawingGroup.cs
- RemoteWebConfigurationHostStream.cs
- ExecutionEngineException.cs
- HtmlTitle.cs
- BinaryNode.cs
- HyperLinkField.cs
- Menu.cs
- PageThemeBuildProvider.cs
- StsCommunicationException.cs
- HebrewCalendar.cs
- RoleGroup.cs
- ObjectListDataBindEventArgs.cs
- HttpsChannelListener.cs
- DocumentSequenceHighlightLayer.cs
- CompressStream.cs
- WindowsPen.cs
- CachedResourceDictionaryExtension.cs
- FontDriver.cs
- DateTimeStorage.cs
- DataGridViewHitTestInfo.cs
- IriParsingElement.cs
- HwndSource.cs
- path.cs
- _AutoWebProxyScriptEngine.cs
- PageCodeDomTreeGenerator.cs
- DataDocumentXPathNavigator.cs
- OdbcConnectionStringbuilder.cs
- SqlConnectionHelper.cs
- TriggerCollection.cs
- DbConnectionStringCommon.cs
- LOSFormatter.cs
- TCPClient.cs
- StrokeCollection2.cs
- CompositeFontFamily.cs
- BinarySecretSecurityToken.cs
- SchemaElementDecl.cs
- SynchronizationContext.cs
- TdsParserSessionPool.cs
- ChannelRequirements.cs
- InheritanceUI.cs
- AutomationPropertyInfo.cs
- CreateInstanceBinder.cs
- IPAddress.cs
- DebuggerAttributes.cs
- XmlAttribute.cs
- XmlSubtreeReader.cs
- ExcludePathInfo.cs
- WorkflowPrinting.cs
- CodeTypeParameter.cs
- XmlSchemas.cs
- Tool.cs
- PrinterResolution.cs
- ArithmeticException.cs
- DbProviderSpecificTypePropertyAttribute.cs
- _SafeNetHandles.cs
- ResourceContainer.cs
- ListItemConverter.cs
- RoleManagerEventArgs.cs
- EdmSchemaAttribute.cs
- RenderCapability.cs
- AppDomainProtocolHandler.cs