Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- DetailsViewPagerRow.cs
- CodeSubDirectoriesCollection.cs
- ResponseBodyWriter.cs
- XamlBrushSerializer.cs
- SizeF.cs
- XsdDateTime.cs
- PropertyPathConverter.cs
- FunctionParameter.cs
- entitydatasourceentitysetnameconverter.cs
- TrustManager.cs
- JournalEntry.cs
- CaseInsensitiveHashCodeProvider.cs
- RuntimeConfigLKG.cs
- FileUtil.cs
- StyleSheetDesigner.cs
- DataRecordObjectView.cs
- EdmToObjectNamespaceMap.cs
- CharacterBuffer.cs
- CaseInsensitiveOrdinalStringComparer.cs
- AnnotationMap.cs
- ASCIIEncoding.cs
- Single.cs
- WorkflowTraceTransfer.cs
- Empty.cs
- XmlDataSourceNodeDescriptor.cs
- LongPath.cs
- HtmlHistory.cs
- CompilationRelaxations.cs
- MenuItem.cs
- PrintDialogDesigner.cs
- XmlnsDefinitionAttribute.cs
- messageonlyhwndwrapper.cs
- CultureNotFoundException.cs
- ImageProxy.cs
- StringHandle.cs
- TraceSection.cs
- XmlArrayItemAttributes.cs
- SafeCryptoHandles.cs
- SessionPageStateSection.cs
- ToolStripGrip.cs
- CatalogZone.cs
- DataGridComboBoxColumn.cs
- NavigationEventArgs.cs
- EmptyEnumerable.cs
- CngKeyCreationParameters.cs
- AppDomainAttributes.cs
- XmlUtilWriter.cs
- AndCondition.cs
- ConfigurationErrorsException.cs
- TextComposition.cs
- ScaleTransform.cs
- HttpCapabilitiesEvaluator.cs
- XmlSchemaSequence.cs
- ShapingWorkspace.cs
- PerformanceCountersElement.cs
- QilTernary.cs
- UInt64Storage.cs
- httpserverutility.cs
- RawStylusInputCustomData.cs
- UserControl.cs
- DataGridHeaderBorder.cs
- BooleanExpr.cs
- BitmapImage.cs
- SoapAttributes.cs
- XmlConvert.cs
- StrongNameMembershipCondition.cs
- TypeInitializationException.cs
- LZCodec.cs
- BitmapVisualManager.cs
- DataControlFieldCell.cs
- PackWebResponse.cs
- DnsPermission.cs
- SimpleMailWebEventProvider.cs
- SqlServices.cs
- OptimalTextSource.cs
- PolicyStatement.cs
- SHA1Managed.cs
- OwnerDrawPropertyBag.cs
- AlternateViewCollection.cs
- AssociatedControlConverter.cs
- SoapCodeExporter.cs
- ExecutionContext.cs
- TemplatePartAttribute.cs
- NativeDirectoryServicesQueryAPIs.cs
- ComponentManagerBroker.cs
- safemediahandle.cs
- SyntaxCheck.cs
- CompilerErrorCollection.cs
- InfiniteIntConverter.cs
- Rfc2898DeriveBytes.cs
- WebDisplayNameAttribute.cs
- RegisterInfo.cs
- ExceptionTrace.cs
- Model3DCollection.cs
- CookieHandler.cs
- RequestResizeEvent.cs
- NonVisualControlAttribute.cs
- ColumnMapCopier.cs
- DropShadowBitmapEffect.cs
- PeerTransportListenAddressConverter.cs