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
- HttpPostedFileBase.cs
- HtmlListAdapter.cs
- DivideByZeroException.cs
- ColorContextHelper.cs
- Win32Native.cs
- CategoryAttribute.cs
- path.cs
- ThemeableAttribute.cs
- ExtractorMetadata.cs
- BoundColumn.cs
- ExpressionBinding.cs
- _FtpDataStream.cs
- DecimalAnimation.cs
- DirectoryRootQuery.cs
- DurableRuntimeValidator.cs
- RandomNumberGenerator.cs
- DataGridViewRowsRemovedEventArgs.cs
- ContentHostHelper.cs
- ItemCollectionEditor.cs
- EncodingDataItem.cs
- KeySpline.cs
- TextDecoration.cs
- RoleService.cs
- TitleStyle.cs
- DeclarativeCatalogPartDesigner.cs
- EntityReference.cs
- XamlWriter.cs
- EntityDataSourceColumn.cs
- HttpWebResponse.cs
- UpDownEvent.cs
- ProfileParameter.cs
- Logging.cs
- StaticSiteMapProvider.cs
- CacheModeConverter.cs
- PeerEndPoint.cs
- mactripleDES.cs
- RelationshipWrapper.cs
- StrongNamePublicKeyBlob.cs
- ListenerConstants.cs
- QilGenerator.cs
- ImageAnimator.cs
- ThreadAttributes.cs
- ValidatorUtils.cs
- DataGridViewUtilities.cs
- CodeDOMProvider.cs
- TextFormatterContext.cs
- MenuScrollingVisibilityConverter.cs
- DataServiceExpressionVisitor.cs
- RouteValueExpressionBuilder.cs
- XmlRawWriter.cs
- TypeAccessException.cs
- connectionpool.cs
- PointF.cs
- SqlTrackingWorkflowInstance.cs
- CodeBlockBuilder.cs
- ParameterEditorUserControl.cs
- LinqDataSourceValidationException.cs
- WinInetCache.cs
- DayRenderEvent.cs
- BitmapEffectrendercontext.cs
- ApplicationHost.cs
- UnsafeNativeMethods.cs
- CodeSnippetCompileUnit.cs
- ObjectSecurity.cs
- DataGridColumnCollection.cs
- SqlRetyper.cs
- ColorTypeConverter.cs
- PixelShader.cs
- Int32Animation.cs
- WindowsGraphicsCacheManager.cs
- EncryptedType.cs
- Transform.cs
- ObjectAnimationUsingKeyFrames.cs
- DataGridViewRowsRemovedEventArgs.cs
- InputScope.cs
- SelectionListDesigner.cs
- HtmlInputFile.cs
- ItemsControl.cs
- SoapParser.cs
- AddInActivator.cs
- BitmapDownload.cs
- SymmetricCryptoHandle.cs
- DataGridHeadersVisibilityToVisibilityConverter.cs
- EventToken.cs
- Config.cs
- FormsAuthenticationModule.cs
- ColorAnimation.cs
- ProxyHwnd.cs
- SeekableMessageNavigator.cs
- SoapAttributeOverrides.cs
- LinkLabelLinkClickedEvent.cs
- MouseGestureConverter.cs
- InternalTypeHelper.cs
- CursorInteropHelper.cs
- HwndKeyboardInputProvider.cs
- ListViewPagedDataSource.cs
- XmlNodeComparer.cs
- DynamicDataResources.Designer.cs
- TabControlEvent.cs
- CachedPathData.cs