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
- EmptyControlCollection.cs
- DefaultHttpHandler.cs
- UpdatePanel.cs
- VariableQuery.cs
- XmlObjectSerializerReadContextComplexJson.cs
- NetworkInformationPermission.cs
- XmlStringTable.cs
- TableHeaderCell.cs
- NoneExcludedImageIndexConverter.cs
- ToolStripButton.cs
- MdiWindowListStrip.cs
- CodeDomSerializerException.cs
- SymmetricAlgorithm.cs
- EventlogProvider.cs
- ExpressionNode.cs
- XmlQuerySequence.cs
- RecognizerInfo.cs
- DataTableClearEvent.cs
- Message.cs
- BaseCodePageEncoding.cs
- FileCodeGroup.cs
- SupportsEventValidationAttribute.cs
- AccessText.cs
- HttpModulesSection.cs
- ThrowHelper.cs
- SimpleType.cs
- SqlCacheDependency.cs
- MenuItemAutomationPeer.cs
- RubberbandSelector.cs
- Win32Native.cs
- TrackingMemoryStreamFactory.cs
- QilNode.cs
- Brushes.cs
- TextOutput.cs
- DecoderFallback.cs
- Page.cs
- UnsafeNativeMethodsMilCoreApi.cs
- DataRecordInternal.cs
- EncoderReplacementFallback.cs
- SmtpMail.cs
- precedingsibling.cs
- Positioning.cs
- CroppedBitmap.cs
- AdornerLayer.cs
- IpcClientManager.cs
- Win32.cs
- StyleCollection.cs
- SerializationSectionGroup.cs
- MergablePropertyAttribute.cs
- ExpressionSelection.cs
- WebPartTracker.cs
- MachineKeySection.cs
- LinearGradientBrush.cs
- CurrentTimeZone.cs
- SimpleLine.cs
- WebPartDisplayModeCancelEventArgs.cs
- TimeSpanValidatorAttribute.cs
- SafeRegistryKey.cs
- ComponentGlyph.cs
- XmlSerializationGeneratedCode.cs
- Propagator.cs
- SectionRecord.cs
- ByteFacetDescriptionElement.cs
- IconHelper.cs
- BinaryQueryOperator.cs
- ControlBuilder.cs
- InArgument.cs
- OdbcParameter.cs
- messageonlyhwndwrapper.cs
- TableCell.cs
- Transform.cs
- Vector3DIndependentAnimationStorage.cs
- InvalidChannelBindingException.cs
- InertiaTranslationBehavior.cs
- CompilationRelaxations.cs
- ExtensionDataObject.cs
- SQLInt16Storage.cs
- CreateUserWizard.cs
- EraserBehavior.cs
- Inline.cs
- ThreadInterruptedException.cs
- SafeEventLogWriteHandle.cs
- TextClipboardData.cs
- ObjectPersistData.cs
- RenameRuleObjectDialog.cs
- Brush.cs
- DebugInfoExpression.cs
- BodyWriter.cs
- XmlSchemaObject.cs
- HMACRIPEMD160.cs
- StandardOleMarshalObject.cs
- ProcessHostConfigUtils.cs
- Oid.cs
- ObjectDataSourceStatusEventArgs.cs
- ContractListAdapter.cs
- DesignerForm.cs
- ObjectTokenCategory.cs
- GridViewSortEventArgs.cs
- EventPrivateKey.cs
- ConfigurationPermission.cs