Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / CompMod / System / ComponentModel / InitializationEventAttribute.cs / 1 / InitializationEventAttribute.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
/*
*/
namespace System.ComponentModel {
using System;
using System.Security.Permissions;
///
/// Specifies which event is fired on initialization.
///
[AttributeUsage(AttributeTargets.Class)]
public sealed class InitializationEventAttribute : Attribute {
private string eventName = null;
///
///
/// Initializes a new instance of the class.
///
///
public InitializationEventAttribute(string eventName) {
this.eventName = eventName;
}
///
///
/// Gets the name of the initialization event.
///
///
public string EventName {
get {
return this.eventName;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
/*
*/
namespace System.ComponentModel {
using System;
using System.Security.Permissions;
///
/// Specifies which event is fired on initialization.
///
[AttributeUsage(AttributeTargets.Class)]
public sealed class InitializationEventAttribute : Attribute {
private string eventName = null;
///
///
/// Initializes a new instance of the class.
///
///
public InitializationEventAttribute(string eventName) {
this.eventName = eventName;
}
///
///
/// Gets the name of the initialization event.
///
///
public string EventName {
get {
return this.eventName;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SessionIDManager.cs
- DirectoryNotFoundException.cs
- FactoryGenerator.cs
- TableLayoutSettingsTypeConverter.cs
- PolyBezierSegmentFigureLogic.cs
- documentsequencetextview.cs
- TreeNodeClickEventArgs.cs
- GridPatternIdentifiers.cs
- EventSinkActivity.cs
- DependencyObjectProvider.cs
- CultureInfo.cs
- ListViewDeletedEventArgs.cs
- ComponentManagerBroker.cs
- MenuAdapter.cs
- StringResourceManager.cs
- ValidationPropertyAttribute.cs
- OleDbConnectionInternal.cs
- NonceToken.cs
- WpfWebRequestHelper.cs
- SiteMapNode.cs
- TextElementAutomationPeer.cs
- DeploymentSection.cs
- TrackBar.cs
- SizeFConverter.cs
- FileStream.cs
- CallbackHandler.cs
- TimeSpan.cs
- TemplateXamlParser.cs
- CancellationHandler.cs
- TemplateControlParser.cs
- XmlNotation.cs
- InvalidCommandTreeException.cs
- WrappedReader.cs
- CodeTypeDeclarationCollection.cs
- AutoResizedEvent.cs
- Inline.cs
- HandleRef.cs
- SortFieldComparer.cs
- input.cs
- TcpHostedTransportConfiguration.cs
- Queue.cs
- OdbcFactory.cs
- DbProviderManifest.cs
- IIS7WorkerRequest.cs
- SimpleTableProvider.cs
- SmiContext.cs
- XmlIncludeAttribute.cs
- XmlDocument.cs
- MetadataItemSerializer.cs
- TypeDelegator.cs
- OleDbError.cs
- HttpException.cs
- EdgeProfileValidation.cs
- DependencyPropertyConverter.cs
- BaseDataBoundControl.cs
- HashCryptoHandle.cs
- ellipse.cs
- TreeView.cs
- DispatcherProcessingDisabled.cs
- DynamicField.cs
- SqlBooleanMismatchVisitor.cs
- SessionIDManager.cs
- RuleProcessor.cs
- PeerToPeerException.cs
- TextClipboardData.cs
- typedescriptorpermissionattribute.cs
- DefaultAutoFieldGenerator.cs
- IISMapPath.cs
- KeyConstraint.cs
- ToolStripItemEventArgs.cs
- MatrixKeyFrameCollection.cs
- InstancePersistenceContext.cs
- columnmapfactory.cs
- HandlerBase.cs
- Module.cs
- DesignerActionVerbList.cs
- WeakRefEnumerator.cs
- querybuilder.cs
- WebRequestModuleElementCollection.cs
- XmlRawWriterWrapper.cs
- LongAverageAggregationOperator.cs
- DoubleLinkListEnumerator.cs
- CodeDOMUtility.cs
- UnknownBitmapEncoder.cs
- VersionedStreamOwner.cs
- Utilities.cs
- RegexCompilationInfo.cs
- LambdaCompiler.Expressions.cs
- DataColumnCollection.cs
- ContentPropertyAttribute.cs
- TreeNodeBinding.cs
- AbstractSvcMapFileLoader.cs
- DataGridHeaderBorder.cs
- ModuleElement.cs
- CheckBox.cs
- RegexStringValidatorAttribute.cs
- LZCodec.cs
- DataGridBoolColumn.cs
- XmlMapping.cs
- DXD.cs