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
- ControlPropertyNameConverter.cs
- FormViewPageEventArgs.cs
- DelimitedListTraceListener.cs
- ValidationErrorInfo.cs
- TypeUtils.cs
- SqlReferenceCollection.cs
- XmlQueryType.cs
- BuildManagerHost.cs
- DbCommandTree.cs
- EntityDataSourceChangedEventArgs.cs
- ExecutionProperties.cs
- TreeViewHitTestInfo.cs
- QuestionEventArgs.cs
- ListControl.cs
- InvalidOperationException.cs
- sitestring.cs
- EditorAttribute.cs
- XmlUtf8RawTextWriter.cs
- UnsafeNativeMethods.cs
- CloseCollectionAsyncResult.cs
- DataGrid.cs
- TreeNodeCollectionEditor.cs
- SystemColorTracker.cs
- AnnotationAdorner.cs
- PartialList.cs
- CqlBlock.cs
- SerializationInfo.cs
- ToolStripHighContrastRenderer.cs
- InternalPermissions.cs
- ReliableOutputConnection.cs
- MenuItemAutomationPeer.cs
- ItemCheckEvent.cs
- BaseParaClient.cs
- SelectionEditor.cs
- DataServiceRequestException.cs
- FontFamilyIdentifier.cs
- BindingExpressionUncommonField.cs
- Annotation.cs
- SQLBinary.cs
- Enlistment.cs
- BooleanAnimationUsingKeyFrames.cs
- FrugalMap.cs
- XmlBinaryWriter.cs
- RepeaterItemEventArgs.cs
- MenuItemStyle.cs
- ResourceIDHelper.cs
- CaseCqlBlock.cs
- WebBrowsableAttribute.cs
- EventMappingSettingsCollection.cs
- ContextMenu.cs
- WebRequestModuleElementCollection.cs
- HTMLTextWriter.cs
- SqlBuffer.cs
- Delay.cs
- OleDbDataReader.cs
- VisualBasicImportReference.cs
- Dictionary.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- InvalidWMPVersionException.cs
- UnsafeNativeMethods.cs
- SymLanguageVendor.cs
- RepeatButton.cs
- Ops.cs
- UserMapPath.cs
- DataGridViewLayoutData.cs
- DBAsyncResult.cs
- FieldTemplateUserControl.cs
- MultiPageTextView.cs
- ConnectionConsumerAttribute.cs
- SmuggledIUnknown.cs
- StopRoutingHandler.cs
- ToolboxItemCollection.cs
- BitVector32.cs
- FormViewRow.cs
- WebPartTracker.cs
- ModuleElement.cs
- CLSCompliantAttribute.cs
- Stroke.cs
- CheckBoxAutomationPeer.cs
- ViewManager.cs
- Overlapped.cs
- WasAdminWrapper.cs
- HtmlInputButton.cs
- IPipelineRuntime.cs
- DataContractSerializerSection.cs
- ConfigurationException.cs
- FamilyTypefaceCollection.cs
- AppSettingsSection.cs
- RowParagraph.cs
- Vector.cs
- Message.cs
- mansign.cs
- UpdateManifestForBrowserApplication.cs
- AssemblyBuilder.cs
- ExpandCollapsePattern.cs
- WebBrowsableAttribute.cs
- KernelTypeValidation.cs
- CacheSection.cs
- CaseStatement.cs
- SamlSerializer.cs