Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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; } } } }/// 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
- WebPartMinimizeVerb.cs
- PeerNameRecord.cs
- PrintDialogException.cs
- Button.cs
- DoubleKeyFrameCollection.cs
- CodeTypeReferenceExpression.cs
- ConfigPathUtility.cs
- SqlDataSourceFilteringEventArgs.cs
- RemotingAttributes.cs
- MDIClient.cs
- SafeSecurityHandles.cs
- PersistChildrenAttribute.cs
- MessageBodyDescription.cs
- SqlParameterCollection.cs
- StrictAndMessageFilter.cs
- ChangeInterceptorAttribute.cs
- EntityKey.cs
- Token.cs
- MemberRelationshipService.cs
- StorageComplexTypeMapping.cs
- SqlConnectionString.cs
- ObjectStateFormatter.cs
- SqlDataSourceEnumerator.cs
- WebHostUnsafeNativeMethods.cs
- PenContext.cs
- ThreadPoolTaskScheduler.cs
- SrgsItemList.cs
- NullableDecimalAverageAggregationOperator.cs
- CollaborationHelperFunctions.cs
- GraphicsState.cs
- SymbolPair.cs
- DesignTimeTemplateParser.cs
- ListSurrogate.cs
- CodeGenerator.cs
- WorkflowApplication.cs
- HttpHandlersSection.cs
- DefaultDialogButtons.cs
- RandomNumberGenerator.cs
- RMPermissions.cs
- XmlTypeAttribute.cs
- ToolBarPanel.cs
- DictionaryEntry.cs
- HttpConfigurationContext.cs
- VisualStyleTypesAndProperties.cs
- Image.cs
- IntSecurity.cs
- storepermission.cs
- DbCommandTree.cs
- TdsParameterSetter.cs
- DiscoveryInnerClientAdhoc11.cs
- KeyboardEventArgs.cs
- SqlNotificationEventArgs.cs
- OutputCacheSettings.cs
- HttpAsyncResult.cs
- XmlAnyElementAttribute.cs
- SerialStream.cs
- IWorkflowDebuggerService.cs
- PeerApplication.cs
- RSAPKCS1KeyExchangeFormatter.cs
- Int64AnimationBase.cs
- ValueUtilsSmi.cs
- ActivityMetadata.cs
- MemberRelationshipService.cs
- EntityModelSchemaGenerator.cs
- PartBasedPackageProperties.cs
- Win32Exception.cs
- SQLMoney.cs
- DataSourceUtil.cs
- EventTrigger.cs
- NameValueCollection.cs
- SmiContextFactory.cs
- PageCache.cs
- BackgroundFormatInfo.cs
- SmiContext.cs
- GroupBox.cs
- Trustee.cs
- Int32RectConverter.cs
- SqlBuilder.cs
- SmiEventSink_Default.cs
- Visual3D.cs
- NavigationPropertySingletonExpression.cs
- FileDialog_Vista.cs
- AssemblyInfo.cs
- GeneralTransformGroup.cs
- COM2PictureConverter.cs
- PropertyGeneratedEventArgs.cs
- ValidationErrorCollection.cs
- MasterPage.cs
- CryptoStream.cs
- PngBitmapEncoder.cs
- InitializeCorrelation.cs
- ResponseStream.cs
- SoapHttpTransportImporter.cs
- Opcode.cs
- AttachedPropertyInfo.cs
- DependencyObjectProvider.cs
- ProxyHelper.cs
- PathGeometry.cs
- dsa.cs
- Roles.cs