Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- AsymmetricKeyExchangeFormatter.cs
- ImageSourceValueSerializer.cs
- FixedSOMFixedBlock.cs
- WebPartVerb.cs
- SystemWebSectionGroup.cs
- VectorKeyFrameCollection.cs
- CommandLibraryHelper.cs
- PageBuildProvider.cs
- BufferedGraphics.cs
- BaseInfoTable.cs
- Char.cs
- HttpCapabilitiesBase.cs
- coordinatorfactory.cs
- HttpRequest.cs
- NavigationEventArgs.cs
- HttpWebRequestElement.cs
- SimpleHandlerFactory.cs
- LineBreak.cs
- AsyncSerializedWorker.cs
- BackStopAuthenticationModule.cs
- TemplateControlBuildProvider.cs
- ActivityBuilder.cs
- ComboBox.cs
- ExpressionHelper.cs
- SafeWaitHandle.cs
- RepeaterDataBoundAdapter.cs
- HashStream.cs
- WindowsButton.cs
- CachedCompositeFamily.cs
- QilTypeChecker.cs
- ChannelHandler.cs
- Buffer.cs
- OdbcFactory.cs
- PasswordRecovery.cs
- XmlByteStreamReader.cs
- Activity.cs
- DirectoryRedirect.cs
- RotateTransform3D.cs
- HtmlUtf8RawTextWriter.cs
- SQLBytes.cs
- RadioButtonBaseAdapter.cs
- EmptyStringExpandableObjectConverter.cs
- DataSourceView.cs
- SystemResourceKey.cs
- PointCollection.cs
- HGlobalSafeHandle.cs
- UIPropertyMetadata.cs
- SafeThreadHandle.cs
- MimeImporter.cs
- ComEventsHelper.cs
- IdentityElement.cs
- ProxyWebPartConnectionCollection.cs
- DataGridViewSelectedCellCollection.cs
- PrintingPermissionAttribute.cs
- HttpWebRequest.cs
- XmlSchemaSimpleTypeUnion.cs
- Automation.cs
- ExpressionBinding.cs
- MenuItemBinding.cs
- HeaderCollection.cs
- Typography.cs
- Rotation3DKeyFrameCollection.cs
- HWStack.cs
- WindowsFormsHostPropertyMap.cs
- MeshGeometry3D.cs
- SupportsEventValidationAttribute.cs
- CursorConverter.cs
- ParserStreamGeometryContext.cs
- StateManagedCollection.cs
- CodeChecksumPragma.cs
- DataSourceCacheDurationConverter.cs
- StringUtil.cs
- PeerName.cs
- ParentUndoUnit.cs
- PackUriHelper.cs
- TargetException.cs
- PriorityBindingExpression.cs
- TextMarkerSource.cs
- path.cs
- ToolStripLocationCancelEventArgs.cs
- SqlConnectionStringBuilder.cs
- FormatControl.cs
- SQLMoneyStorage.cs
- SurrogateChar.cs
- Scalars.cs
- ValueChangedEventManager.cs
- ToolStripDropDownMenu.cs
- QueryableFilterUserControl.cs
- DeferredSelectedIndexReference.cs
- DrawingImage.cs
- BindingExpressionBase.cs
- WebRequestModuleElementCollection.cs
- OverlappedAsyncResult.cs
- ToolStrip.cs
- DbMetaDataColumnNames.cs
- PerformanceCounterPermissionEntry.cs
- OdbcEnvironment.cs
- ComponentCommands.cs
- SqlIdentifier.cs
- _DomainName.cs