Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / CompMod / System / ComponentModel / HandledEventArgs.cs / 1 / 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
- FactoryRecord.cs
- WebPartRestoreVerb.cs
- CodeCatchClause.cs
- SQLBytesStorage.cs
- PreProcessor.cs
- Int64.cs
- ValidatingReaderNodeData.cs
- SingleResultAttribute.cs
- GridSplitter.cs
- Viewport3DVisual.cs
- SettingsBindableAttribute.cs
- BaseResourcesBuildProvider.cs
- DeploymentSectionCache.cs
- ErrorTableItemStyle.cs
- WindowsStreamSecurityBindingElement.cs
- InstanceDataCollectionCollection.cs
- ValidationErrorInfo.cs
- coordinator.cs
- MetadataArtifactLoaderFile.cs
- OleDragDropHandler.cs
- InkCanvasFeedbackAdorner.cs
- RoutedEventHandlerInfo.cs
- ButtonChrome.cs
- X509KeyIdentifierClauseType.cs
- ListControlActionList.cs
- MultiTouchSystemGestureLogic.cs
- PermissionAttributes.cs
- EndpointDispatcher.cs
- CounterSample.cs
- CheckedPointers.cs
- TreeNodeStyle.cs
- CheckBoxPopupAdapter.cs
- ComNativeDescriptor.cs
- DataGridViewColumnTypePicker.cs
- InvalidOperationException.cs
- ThreadStaticAttribute.cs
- ComplexType.cs
- XmlSchemaSimpleContentRestriction.cs
- InstanceOwner.cs
- UrlPath.cs
- UpdatePanelControlTrigger.cs
- DataGridViewBand.cs
- ConcurrentQueue.cs
- RequestTimeoutManager.cs
- Site.cs
- StorageEntityTypeMapping.cs
- DetailsViewRow.cs
- DeclaredTypeElementCollection.cs
- SessionState.cs
- TypeConverter.cs
- FreezableCollection.cs
- BuilderPropertyEntry.cs
- ZipIOCentralDirectoryBlock.cs
- State.cs
- CompilerCollection.cs
- LongValidatorAttribute.cs
- TextDecorationCollection.cs
- Track.cs
- RangeValidator.cs
- IdentityManager.cs
- sqlinternaltransaction.cs
- GenericEnumConverter.cs
- BindingExpression.cs
- HttpResponseInternalBase.cs
- LingerOption.cs
- XmlAnyElementAttributes.cs
- TextOutput.cs
- Help.cs
- MultipartContentParser.cs
- TemplateManager.cs
- OdbcDataReader.cs
- RotateTransform3D.cs
- DebugController.cs
- ObjectNotFoundException.cs
- ZipFileInfoCollection.cs
- ContractTypeNameCollection.cs
- ImmutablePropertyDescriptorGridEntry.cs
- AsymmetricKeyExchangeFormatter.cs
- SqlUserDefinedAggregateAttribute.cs
- ColorConverter.cs
- ChangeProcessor.cs
- WebCategoryAttribute.cs
- PluralizationService.cs
- MethodBody.cs
- TagNameToTypeMapper.cs
- EmptyEnumerable.cs
- OracleEncoding.cs
- TypeDescriptionProvider.cs
- PropertyValidationContext.cs
- XmlAttribute.cs
- SettingsProperty.cs
- IntSumAggregationOperator.cs
- TrackingProfileDeserializationException.cs
- backend.cs
- XhtmlBasicValidatorAdapter.cs
- MarshalByRefObject.cs
- PointLightBase.cs
- AnnotationObservableCollection.cs
- SchemaElementLookUpTableEnumerator.cs
- CodeIdentifiers.cs