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
- RenderContext.cs
- MonitorWrapper.cs
- OleDbPropertySetGuid.cs
- EventArgs.cs
- BlobPersonalizationState.cs
- ApplicationActivator.cs
- SimpleLine.cs
- StateWorkerRequest.cs
- BooleanSwitch.cs
- CultureInfoConverter.cs
- ManagementDateTime.cs
- UnsafeNativeMethods.cs
- HashCodeCombiner.cs
- RawTextInputReport.cs
- DataMisalignedException.cs
- DbConnectionPoolCounters.cs
- LazyTextWriterCreator.cs
- DoubleAnimationUsingPath.cs
- BrushMappingModeValidation.cs
- coordinatorscratchpad.cs
- ConfigUtil.cs
- ClientFormsIdentity.cs
- DetailsViewDeleteEventArgs.cs
- MailMessageEventArgs.cs
- ProcessHostMapPath.cs
- XmlWrappingReader.cs
- Win32Exception.cs
- MultiPageTextView.cs
- DiscreteKeyFrames.cs
- HwndProxyElementProvider.cs
- SmtpReplyReaderFactory.cs
- oledbmetadatacolumnnames.cs
- InstanceData.cs
- ConfigUtil.cs
- OrderedDictionary.cs
- Expression.cs
- SafeBitVector32.cs
- BlockCollection.cs
- SaveWorkflowAsyncResult.cs
- WebException.cs
- AnonymousIdentificationModule.cs
- DelegateTypeInfo.cs
- Errors.cs
- WeakEventTable.cs
- WebBrowserNavigatedEventHandler.cs
- SourceLineInfo.cs
- SliderAutomationPeer.cs
- ZipIOLocalFileHeader.cs
- DbProviderFactory.cs
- UIElementPropertyUndoUnit.cs
- TraceHandler.cs
- PropertyInfoSet.cs
- ValuePatternIdentifiers.cs
- BinaryUtilClasses.cs
- OletxTransactionFormatter.cs
- Compiler.cs
- XmlNamespaceMappingCollection.cs
- InternalResources.cs
- TextShapeableCharacters.cs
- ValueCollectionParameterReader.cs
- XmlSerializerNamespaces.cs
- Boolean.cs
- MdImport.cs
- SqlFacetAttribute.cs
- StringArrayConverter.cs
- BooleanToVisibilityConverter.cs
- RadioButton.cs
- DocumentXPathNavigator.cs
- LazyTextWriterCreator.cs
- InstancePersistenceCommandException.cs
- MetadataArtifactLoaderResource.cs
- BufferedWebEventProvider.cs
- DebugHandleTracker.cs
- _AutoWebProxyScriptWrapper.cs
- RuntimeConfig.cs
- InputBinder.cs
- ColorConverter.cs
- KeyTime.cs
- ObjectListCommand.cs
- ItemDragEvent.cs
- GridView.cs
- ArrayTypeMismatchException.cs
- OracleBFile.cs
- ScrollViewerAutomationPeer.cs
- StreamGeometry.cs
- RoleService.cs
- DrawListViewItemEventArgs.cs
- WorkerRequest.cs
- ConstraintConverter.cs
- RegistryDataKey.cs
- MappingException.cs
- OleDbDataReader.cs
- ipaddressinformationcollection.cs
- Matrix3DValueSerializer.cs
- FormViewPageEventArgs.cs
- BinaryUtilClasses.cs
- MobileControlsSectionHelper.cs
- ShutDownListener.cs
- TableTextElementCollectionInternal.cs
- EnumUnknown.cs