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
- AutoResetEvent.cs
- _OSSOCK.cs
- MSAANativeProvider.cs
- ModelPropertyImpl.cs
- WorkItem.cs
- AssemblyCollection.cs
- Part.cs
- ScriptingJsonSerializationSection.cs
- DataGridToolTip.cs
- DataRecordObjectView.cs
- BitmapSource.cs
- DataControlFieldCollection.cs
- MediaPlayerState.cs
- InvalidPropValue.cs
- StaticFileHandler.cs
- FontEditor.cs
- ZipIOBlockManager.cs
- StringWriter.cs
- SchemaNames.cs
- TextLine.cs
- EntityKey.cs
- SqlWebEventProvider.cs
- WebControlToolBoxItem.cs
- ImageIndexConverter.cs
- ListItemsPage.cs
- TdsParserStaticMethods.cs
- RealizationContext.cs
- TextRange.cs
- IdnElement.cs
- messageonlyhwndwrapper.cs
- Site.cs
- IxmlLineInfo.cs
- CacheHelper.cs
- RegexMatch.cs
- SchemaDeclBase.cs
- LayoutTableCell.cs
- DSGeneratorProblem.cs
- ErrorActivity.cs
- DynamicResourceExtension.cs
- _ListenerAsyncResult.cs
- HttpStreamFormatter.cs
- ThemeDirectoryCompiler.cs
- BamlRecordReader.cs
- ToolStripRenderEventArgs.cs
- ControlBuilder.cs
- UrlMappingsModule.cs
- NameSpaceEvent.cs
- MsdtcWrapper.cs
- TracingConnectionInitiator.cs
- CurrentTimeZone.cs
- StateRuntime.cs
- WebServiceData.cs
- HeaderedItemsControl.cs
- ScriptReference.cs
- XmlEncodedRawTextWriter.cs
- ResourceDisplayNameAttribute.cs
- ItemsChangedEventArgs.cs
- ActivityExecutor.cs
- CharacterBuffer.cs
- PackagingUtilities.cs
- ContainerFilterService.cs
- SessionEndingEventArgs.cs
- ConfigXmlDocument.cs
- XappLauncher.cs
- StoreContentChangedEventArgs.cs
- regiisutil.cs
- EncoderExceptionFallback.cs
- ComEventsInfo.cs
- Reference.cs
- StyleTypedPropertyAttribute.cs
- LocatorBase.cs
- XmlStreamStore.cs
- Pointer.cs
- ProfileServiceManager.cs
- UpDownBase.cs
- RIPEMD160.cs
- StrongName.cs
- SecurityPolicySection.cs
- DateTimeConverter2.cs
- IndividualDeviceConfig.cs
- RequestDescription.cs
- DataSourceControlBuilder.cs
- BitmapInitialize.cs
- StateWorkerRequest.cs
- LeaseManager.cs
- EndpointInstanceProvider.cs
- Exceptions.cs
- DataSourceConverter.cs
- XsltException.cs
- XmlException.cs
- WindowsFormsDesignerOptionService.cs
- RowCache.cs
- DesignerTextBoxAdapter.cs
- DataGridPageChangedEventArgs.cs
- TcpChannelFactory.cs
- TraceInternal.cs
- TcpChannelListener.cs
- BindingElementCollection.cs
- XPathScanner.cs
- SqlBulkCopy.cs