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
- Win32Exception.cs
- DataSvcMapFile.cs
- WebPartEditorCancelVerb.cs
- IsolationInterop.cs
- MemoryMappedView.cs
- DataPagerFieldItem.cs
- ContainerCodeDomSerializer.cs
- Regex.cs
- Transform.cs
- SafeIUnknown.cs
- ResXResourceWriter.cs
- ReliabilityContractAttribute.cs
- SingleQueryOperator.cs
- loginstatus.cs
- DriveNotFoundException.cs
- SequentialActivityDesigner.cs
- ReaderContextStackData.cs
- NetworkInformationPermission.cs
- BulletedList.cs
- EntityDataSource.cs
- GenericTypeParameterBuilder.cs
- PasswordBoxAutomationPeer.cs
- TypeListConverter.cs
- Message.cs
- FloatUtil.cs
- XmlUrlEditor.cs
- TextBounds.cs
- QuotedPrintableStream.cs
- SqlUserDefinedTypeAttribute.cs
- WebPermission.cs
- StyleXamlParser.cs
- CustomExpressionEventArgs.cs
- EndpointAddressMessageFilter.cs
- SQLBinary.cs
- XmlSchemaExternal.cs
- MessageDispatch.cs
- XamlInt32CollectionSerializer.cs
- AndCondition.cs
- OleDbReferenceCollection.cs
- FontSizeConverter.cs
- GridSplitterAutomationPeer.cs
- X509UI.cs
- SimpleApplicationHost.cs
- BitConverter.cs
- SeekableMessageNavigator.cs
- MiniConstructorInfo.cs
- LogSwitch.cs
- ValidationErrorInfo.cs
- OleCmdHelper.cs
- UIElementPropertyUndoUnit.cs
- MultipleViewPatternIdentifiers.cs
- SizeConverter.cs
- PinnedBufferMemoryStream.cs
- SoapSchemaExporter.cs
- GeneralTransform3DGroup.cs
- ListenerElementsCollection.cs
- Formatter.cs
- RelationshipDetailsRow.cs
- Stopwatch.cs
- SystemMulticastIPAddressInformation.cs
- VectorKeyFrameCollection.cs
- SoapHeaders.cs
- ComponentDispatcher.cs
- EntityParameter.cs
- GeneralTransform3D.cs
- WebPartUserCapability.cs
- VirtualizedContainerService.cs
- COM2PropertyDescriptor.cs
- safesecurityhelperavalon.cs
- PageThemeCodeDomTreeGenerator.cs
- DocumentXmlWriter.cs
- SmtpNtlmAuthenticationModule.cs
- RefreshResponseInfo.cs
- VersionedStream.cs
- SimpleRecyclingCache.cs
- DescendantBaseQuery.cs
- BlockCollection.cs
- HttpStaticObjectsCollectionWrapper.cs
- ToolboxItemImageConverter.cs
- QueryOutputWriter.cs
- GraphicsState.cs
- ScriptComponentDescriptor.cs
- SafeProcessHandle.cs
- AttributeCollection.cs
- XamlInt32CollectionSerializer.cs
- XmlReaderSettings.cs
- PerformanceCounter.cs
- MultipartIdentifier.cs
- ActivityExecutorOperation.cs
- SolidColorBrush.cs
- ClrPerspective.cs
- RelationshipWrapper.cs
- DataStorage.cs
- SystemTcpConnection.cs
- WeakHashtable.cs
- SecurityRuntime.cs
- RetrieveVirtualItemEventArgs.cs
- DrawingVisualDrawingContext.cs
- NullableFloatMinMaxAggregationOperator.cs
- SynchronizingStream.cs