Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / ComponentModel / HandledEventArgs.cs / 1305376 / HandledEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.ComponentModel { using System; using System.ComponentModel; using System.Diagnostics; using System.Security.Permissions; ////// [HostProtection(SharedState = true)] public class HandledEventArgs : EventArgs { ////// Provides data for the ////// event. /// /// 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 HandledEventArgs() : this(false) { } ////// Initializes a new instance of the ///class with /// handled set to . /// /// public HandledEventArgs(bool defaultHandledValue) : base() { this.handled = defaultHandledValue; } ////// Initializes a new instance of the ///class with /// handled set to the given value. /// /// 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.ComponentModel { using System; using System.ComponentModel; using System.Diagnostics; using System.Security.Permissions; ////// [HostProtection(SharedState = true)] public class HandledEventArgs : EventArgs { ////// Provides data for the ////// event. /// /// 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 HandledEventArgs() : this(false) { } ////// Initializes a new instance of the ///class with /// handled set to . /// /// public HandledEventArgs(bool defaultHandledValue) : base() { this.handled = defaultHandledValue; } ////// Initializes a new instance of the ///class with /// handled set to the given value. /// /// 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
- SortableBindingList.cs
- AVElementHelper.cs
- ContainerVisual.cs
- Int32Converter.cs
- ConfigXmlElement.cs
- SingleObjectCollection.cs
- AVElementHelper.cs
- FormViewCommandEventArgs.cs
- ToolboxBitmapAttribute.cs
- CollectionConverter.cs
- SpecularMaterial.cs
- ServiceDescriptionData.cs
- DoubleUtil.cs
- RawMouseInputReport.cs
- SqlDataSource.cs
- RelatedPropertyManager.cs
- ImageMetadata.cs
- EnlistmentTraceIdentifier.cs
- ZoomPercentageConverter.cs
- DesignerActionItem.cs
- RelOps.cs
- DesignerLinkAdapter.cs
- AutomationPatternInfo.cs
- ZipPackage.cs
- DiscreteKeyFrames.cs
- _FixedSizeReader.cs
- NativeCppClassAttribute.cs
- RadioButton.cs
- RolePrincipal.cs
- PersonalizationStateInfo.cs
- XmlSubtreeReader.cs
- TileBrush.cs
- XamlStyleSerializer.cs
- SqlDuplicator.cs
- AsyncCompletedEventArgs.cs
- DeploymentExceptionMapper.cs
- XmlSchemaSimpleTypeUnion.cs
- TransportElement.cs
- PerformanceCounterPermissionEntry.cs
- DataGridColumn.cs
- XmlWhitespace.cs
- SortQueryOperator.cs
- Group.cs
- AssemblyCache.cs
- WorkerRequest.cs
- URLAttribute.cs
- XNodeNavigator.cs
- Propagator.cs
- xmlglyphRunInfo.cs
- CroppedBitmap.cs
- WinInet.cs
- KnowledgeBase.cs
- processwaithandle.cs
- DataServiceRequestOfT.cs
- SendOperation.cs
- TreeNodeEventArgs.cs
- RenamedEventArgs.cs
- QilFactory.cs
- RegistrySecurity.cs
- HttpCookie.cs
- __Filters.cs
- RSACryptoServiceProvider.cs
- SqlTypeConverter.cs
- ObjRef.cs
- OutputCacheSettingsSection.cs
- ControlParameter.cs
- MatrixAnimationUsingPath.cs
- RuntimeHandles.cs
- SectionXmlInfo.cs
- LookupNode.cs
- SystemSounds.cs
- Error.cs
- DayRenderEvent.cs
- RedistVersionInfo.cs
- ProviderUtil.cs
- ImageKeyConverter.cs
- RubberbandSelector.cs
- SafeNativeMethodsCLR.cs
- ZipPackage.cs
- StylusButtonEventArgs.cs
- AuthenticationService.cs
- RuntimeEnvironment.cs
- ListControl.cs
- BehaviorDragDropEventArgs.cs
- DropShadowBitmapEffect.cs
- LicenseContext.cs
- TreeNodeSelectionProcessor.cs
- shaperfactoryquerycachekey.cs
- WebServiceErrorEvent.cs
- CallbackValidatorAttribute.cs
- FontSizeConverter.cs
- CultureSpecificCharacterBufferRange.cs
- ObjectToken.cs
- DatatypeImplementation.cs
- NonSerializedAttribute.cs
- ConnectionManagementSection.cs
- TableCell.cs
- TableColumn.cs
- PartialList.cs
- CurrentTimeZone.cs