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
- StandardBindingImporter.cs
- IdentityReference.cs
- SqlRowUpdatingEvent.cs
- DbConnectionStringBuilder.cs
- ItemsControlAutomationPeer.cs
- MsmqIntegrationBindingCollectionElement.cs
- TextRunCacheImp.cs
- xsdvalidator.cs
- HtmlElementErrorEventArgs.cs
- configsystem.cs
- DiscoveryInnerClientManaged11.cs
- SecurityContextTokenValidationException.cs
- HttpInputStream.cs
- GeometryGroup.cs
- Utils.cs
- coordinatorfactory.cs
- MessageSecurityOverHttp.cs
- WebDisplayNameAttribute.cs
- DataGridViewColumnHeaderCell.cs
- oledbmetadatacolumnnames.cs
- SelectorItemAutomationPeer.cs
- ResourceType.cs
- InstalledVoice.cs
- InputProcessorProfiles.cs
- XslException.cs
- If.cs
- ICollection.cs
- MulticastDelegate.cs
- DBConnection.cs
- HandledMouseEvent.cs
- JsonUriDataContract.cs
- LockCookie.cs
- CodeGen.cs
- LicenseException.cs
- CompilerGlobalScopeAttribute.cs
- ToolStripItem.cs
- SmtpCommands.cs
- HyperLink.cs
- DeferredBinaryDeserializerExtension.cs
- WinCategoryAttribute.cs
- HistoryEventArgs.cs
- EntityDataSourceEntitySetNameItem.cs
- ConfigurationStrings.cs
- DataGridViewTopLeftHeaderCell.cs
- DocumentOrderQuery.cs
- EntityDataSourceState.cs
- SessionEndingCancelEventArgs.cs
- RequestCachingSection.cs
- AsyncCodeActivity.cs
- DataGridViewCellStyleEditor.cs
- XpsDocumentEvent.cs
- ToolTipService.cs
- WindowsFormsSynchronizationContext.cs
- CqlLexer.cs
- GeometryCollection.cs
- VisualStyleRenderer.cs
- XmlSchemaComplexContentExtension.cs
- DataGridViewControlCollection.cs
- SimpleTextLine.cs
- GridViewDeleteEventArgs.cs
- _ListenerAsyncResult.cs
- FormViewUpdateEventArgs.cs
- WorkflowPageSetupDialog.cs
- SplineKeyFrames.cs
- DeclarationUpdate.cs
- ScriptIgnoreAttribute.cs
- AppearanceEditorPart.cs
- InstanceHandle.cs
- DiagnosticsConfigurationHandler.cs
- PolicyStatement.cs
- SecurityCriticalDataForSet.cs
- ThreadTrace.cs
- ITextView.cs
- Soap.cs
- UInt16.cs
- TextCompositionEventArgs.cs
- ProcessManager.cs
- ParserOptions.cs
- DiscoveryVersion.cs
- URLAttribute.cs
- ApplicationManager.cs
- Exceptions.cs
- TileBrush.cs
- AssemblyBuilder.cs
- TTSEngineProxy.cs
- LogicalExpr.cs
- PageWrapper.cs
- RunInstallerAttribute.cs
- ApplicationGesture.cs
- DecimalSumAggregationOperator.cs
- ProcessProtocolHandler.cs
- _UncName.cs
- PriorityItem.cs
- GenericXmlSecurityToken.cs
- GAC.cs
- RootBrowserWindowProxy.cs
- CompatibleComparer.cs
- MessageQueueException.cs
- ActivityExecutor.cs
- TableColumn.cs