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
- AutomationTextAttribute.cs
- IdentityManager.cs
- StyleHelper.cs
- ObjectReaderCompiler.cs
- WindowsFormsHelpers.cs
- TableProviderWrapper.cs
- TextBoxAutomationPeer.cs
- initElementDictionary.cs
- SmiConnection.cs
- BitmapMetadataBlob.cs
- VariableQuery.cs
- EventLogTraceListener.cs
- SecurityState.cs
- ValidationService.cs
- TextContainerChangeEventArgs.cs
- SafeArrayRankMismatchException.cs
- ClientOptions.cs
- AccessText.cs
- CollectionChangeEventArgs.cs
- DataObjectCopyingEventArgs.cs
- Int32AnimationUsingKeyFrames.cs
- SharedPerformanceCounter.cs
- TableAutomationPeer.cs
- BaseDataListPage.cs
- TranslateTransform3D.cs
- ResizeGrip.cs
- TextBoxBase.cs
- SafeRightsManagementQueryHandle.cs
- Figure.cs
- VisualStyleTypesAndProperties.cs
- XmlBinaryWriter.cs
- Synchronization.cs
- CacheHelper.cs
- Array.cs
- WindowsTreeView.cs
- ConsoleCancelEventArgs.cs
- SystemUnicastIPAddressInformation.cs
- MemberAccessException.cs
- GridEntryCollection.cs
- DNS.cs
- PlanCompilerUtil.cs
- StaticSiteMapProvider.cs
- CanonicalizationDriver.cs
- MatrixAnimationUsingKeyFrames.cs
- ObjectDataSource.cs
- SQLByteStorage.cs
- SystemWebCachingSectionGroup.cs
- InputGestureCollection.cs
- StateDesigner.Helpers.cs
- CFGGrammar.cs
- BoundColumn.cs
- WSDualHttpSecurityElement.cs
- Border.cs
- SecuritySessionSecurityTokenProvider.cs
- xmlformatgeneratorstatics.cs
- RadioButton.cs
- DataGridViewCellStyleChangedEventArgs.cs
- SmtpReplyReader.cs
- nulltextnavigator.cs
- DataSetMappper.cs
- WaitForChangedResult.cs
- NumericPagerField.cs
- MembershipPasswordException.cs
- ImageField.cs
- InvokeHandlers.cs
- OdbcEnvironment.cs
- ExpressionTextBox.xaml.cs
- NetPipeSection.cs
- StylusButtonEventArgs.cs
- StructureChangedEventArgs.cs
- SByte.cs
- RunInstallerAttribute.cs
- Run.cs
- DiffuseMaterial.cs
- GridSplitter.cs
- mansign.cs
- DataTemplateKey.cs
- WebPartsPersonalizationAuthorization.cs
- LambdaCompiler.Logical.cs
- PersistenceProvider.cs
- HierarchicalDataTemplate.cs
- XmlDeclaration.cs
- Calendar.cs
- SettingsContext.cs
- ThemeDirectoryCompiler.cs
- DesignerPainter.cs
- ResourceSet.cs
- StylusDownEventArgs.cs
- XmlBinaryReader.cs
- StrokeIntersection.cs
- DescendantBaseQuery.cs
- State.cs
- DefinitionBase.cs
- PersonalizationProviderHelper.cs
- ThicknessAnimationBase.cs
- DbTransaction.cs
- Journal.cs
- NavigationPropertyEmitter.cs
- StatusBarDrawItemEvent.cs
- Native.cs