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
- BackgroundWorker.cs
- LocatorPartList.cs
- AdapterUtil.cs
- Properties.cs
- EventData.cs
- DesignTableCollection.cs
- Decoder.cs
- _Semaphore.cs
- LowerCaseStringConverter.cs
- PackageRelationshipSelector.cs
- ConstraintManager.cs
- Header.cs
- EditingMode.cs
- HttpConfigurationContext.cs
- DrawingBrush.cs
- TextRangeSerialization.cs
- _HTTPDateParse.cs
- _NTAuthentication.cs
- ReadOnlyNameValueCollection.cs
- SqlDataSource.cs
- QilTernary.cs
- WebBrowserSiteBase.cs
- RegexCode.cs
- GridViewRow.cs
- HostedElements.cs
- OdbcTransaction.cs
- TableLayout.cs
- ConnectorMovedEventArgs.cs
- GifBitmapDecoder.cs
- SmiContextFactory.cs
- BamlLocalizationDictionary.cs
- GenerateScriptTypeAttribute.cs
- UriWriter.cs
- ListViewInsertEventArgs.cs
- PackageRelationshipSelector.cs
- PointAnimationClockResource.cs
- SingleStorage.cs
- PersistChildrenAttribute.cs
- RemoteWebConfigurationHost.cs
- ArgumentValueSerializer.cs
- DocumentationServerProtocol.cs
- XmlDataSourceView.cs
- GridSplitterAutomationPeer.cs
- SettingsPropertyValue.cs
- SafeMILHandle.cs
- InvalidPropValue.cs
- StringValidator.cs
- Root.cs
- ReadOnlyDataSourceView.cs
- ProcessDesigner.cs
- SmtpNegotiateAuthenticationModule.cs
- ListDictionaryInternal.cs
- ViewStateModeByIdAttribute.cs
- PlacementWorkspace.cs
- StringInfo.cs
- Context.cs
- AssemblyEvidenceFactory.cs
- ObjectListItemCollection.cs
- SqlBinder.cs
- GenericParameterDataContract.cs
- XmlResolver.cs
- ToolStripSplitStackLayout.cs
- TargetException.cs
- CultureNotFoundException.cs
- DataGrid.cs
- IisTraceListener.cs
- DataGridSortCommandEventArgs.cs
- Transform3D.cs
- GraphicsPathIterator.cs
- UnconditionalPolicy.cs
- DesignerActionUI.cs
- TextEditorMouse.cs
- XmlDocumentSerializer.cs
- PolyBezierSegment.cs
- CellTreeNodeVisitors.cs
- TagNameToTypeMapper.cs
- ValuePatternIdentifiers.cs
- BoundPropertyEntry.cs
- RootBuilder.cs
- SiteMapHierarchicalDataSourceView.cs
- LocalIdKeyIdentifierClause.cs
- MarginCollapsingState.cs
- XamlBuildTaskServices.cs
- URLString.cs
- LocalizableResourceBuilder.cs
- NCryptNative.cs
- FormClosingEvent.cs
- CustomError.cs
- CqlLexer.cs
- ExpressionBuilder.cs
- DeviceFilterDictionary.cs
- Rect3D.cs
- WebConvert.cs
- ExecutionContext.cs
- SynchronizationScope.cs
- FieldToken.cs
- WebServiceClientProxyGenerator.cs
- PipelineModuleStepContainer.cs
- WebPartMovingEventArgs.cs
- PerformanceCounterCategory.cs