Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- SqlDataSourceSummaryPanel.cs
- X509Extension.cs
- PlaceHolder.cs
- ChainedAsyncResult.cs
- DefaultValueAttribute.cs
- Style.cs
- SoapSchemaMember.cs
- TableDetailsRow.cs
- _AutoWebProxyScriptEngine.cs
- DecoderReplacementFallback.cs
- DefaultTextStore.cs
- ConfigErrorGlyph.cs
- TheQuery.cs
- ObjectRef.cs
- MobileListItemCollection.cs
- ProtectedConfigurationSection.cs
- OperatingSystem.cs
- BaseInfoTable.cs
- CodeMemberField.cs
- TimeoutTimer.cs
- Screen.cs
- CodeDelegateInvokeExpression.cs
- CodeVariableDeclarationStatement.cs
- SafeNativeMethods.cs
- DataTemplate.cs
- DataBoundControlHelper.cs
- RegisteredDisposeScript.cs
- SqlDataReader.cs
- TextWriterTraceListener.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- PartBasedPackageProperties.cs
- WebSysDefaultValueAttribute.cs
- BuiltInExpr.cs
- LogArchiveSnapshot.cs
- WebPartDescription.cs
- TextOutput.cs
- Int32Rect.cs
- AffineTransform3D.cs
- ContentPresenter.cs
- ControlFilterExpression.cs
- RoutingExtensionElement.cs
- Stream.cs
- DataGridViewAdvancedBorderStyle.cs
- ISFTagAndGuidCache.cs
- TextSelectionHighlightLayer.cs
- Main.cs
- CustomPopupPlacement.cs
- InvokeBase.cs
- MethodRental.cs
- StringValidator.cs
- DecoderExceptionFallback.cs
- GlobalProxySelection.cs
- RedirectionProxy.cs
- MeasureData.cs
- SettingsPropertyWrongTypeException.cs
- EmptyStringExpandableObjectConverter.cs
- MsmqIntegrationSecurity.cs
- Token.cs
- MenuItemStyleCollection.cs
- CodeDomConfigurationHandler.cs
- ToolboxItemLoader.cs
- CollectionView.cs
- NativeMethods.cs
- ConsoleEntryPoint.cs
- ActivityPreviewDesigner.cs
- SqlBulkCopyColumnMappingCollection.cs
- BitmapCacheBrush.cs
- UnionCodeGroup.cs
- DispatcherExceptionFilterEventArgs.cs
- FragmentNavigationEventArgs.cs
- XPathPatternParser.cs
- ItemCollection.cs
- FixedSOMLineRanges.cs
- DataBinder.cs
- Char.cs
- DataControlField.cs
- BamlLocalizationDictionary.cs
- PersonalizationState.cs
- AttachedProperty.cs
- Composition.cs
- EntityContainerAssociationSet.cs
- Int32AnimationBase.cs
- SoapHelper.cs
- VirtualPath.cs
- MenuStrip.cs
- InternalCache.cs
- DataPagerField.cs
- MDIWindowDialog.cs
- HttpCookieCollection.cs
- EditorZoneBase.cs
- SqlConnectionFactory.cs
- XmlDownloadManager.cs
- XsdBuildProvider.cs
- PerformanceCounterPermissionEntryCollection.cs
- Deserializer.cs
- AnnotationMap.cs
- ComponentEditorForm.cs
- path.cs
- UpDownEvent.cs
- WebPartCollection.cs