Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / ComponentModel / DefaultEventAttribute.cs / 1305376 / DefaultEventAttribute.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.ComponentModel { using System; using System.Diagnostics; using System.Security.Permissions; ////// [AttributeUsage(AttributeTargets.Class)] public sealed class DefaultEventAttribute : Attribute { ///Specifies the default event for a /// component. ////// This is the default event name. /// private readonly string name; ////// public DefaultEventAttribute(string name) { this.name = name; } ////// Initializes /// a new instance of the ///class. /// /// public string Name { get { return name; } } ////// Gets the name of the default event for /// the component this attribute is bound to. /// ////// public static readonly DefaultEventAttribute Default = new DefaultEventAttribute(null); public override bool Equals(object obj) { DefaultEventAttribute other = obj as DefaultEventAttribute; return (other != null) && other.Name == name; } public override int GetHashCode() { return base.GetHashCode(); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// Specifies the default value for the ///, which is /// . /// This field is read-only. ///
Link Menu
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- InvalidFilterCriteriaException.cs
- ReferencedAssembly.cs
- PersonalizationProviderHelper.cs
- FragmentNavigationEventArgs.cs
- XXXOnTypeBuilderInstantiation.cs
- BitmapFrameEncode.cs
- LineServicesCallbacks.cs
- RequestCacheValidator.cs
- UIElementCollection.cs
- WebEncodingValidator.cs
- _Connection.cs
- QilList.cs
- FormsAuthenticationConfiguration.cs
- CommandLibraryHelper.cs
- StylusEditingBehavior.cs
- documentsequencetextpointer.cs
- MULTI_QI.cs
- HtmlFormWrapper.cs
- HitTestWithPointDrawingContextWalker.cs
- ModelUtilities.cs
- XmlSerializerAssemblyAttribute.cs
- ExpressionNode.cs
- ObjectDisposedException.cs
- WebPartEventArgs.cs
- RequestQueryParser.cs
- securitymgrsite.cs
- DataBoundControlHelper.cs
- Touch.cs
- CompoundFileDeflateTransform.cs
- ContainerControl.cs
- XamlBrushSerializer.cs
- XmlMembersMapping.cs
- MetabaseSettingsIis7.cs
- ThrowHelper.cs
- ToggleButton.cs
- SystemResourceHost.cs
- bindurihelper.cs
- XmlSchemaImporter.cs
- FlowDocumentFormatter.cs
- TemplatedAdorner.cs
- DataTableCollection.cs
- PrinterResolution.cs
- EntitySet.cs
- OdbcTransaction.cs
- EntityDescriptor.cs
- Splitter.cs
- SqlVisitor.cs
- GestureRecognizer.cs
- Pkcs9Attribute.cs
- CodeMethodReturnStatement.cs
- cookie.cs
- Exception.cs
- StateBag.cs
- X509Certificate2Collection.cs
- CachedPathData.cs
- XPathNavigator.cs
- TdsParserSessionPool.cs
- SystemIPGlobalProperties.cs
- Lasso.cs
- IntSecurity.cs
- DisplayMemberTemplateSelector.cs
- IdleTimeoutMonitor.cs
- RequestCache.cs
- EntityDataSourceEntityTypeFilterItem.cs
- WebPartUtil.cs
- RuntimeIdentifierPropertyAttribute.cs
- bindurihelper.cs
- FormParameter.cs
- LogManagementAsyncResult.cs
- MimeMapping.cs
- DataGridViewIntLinkedList.cs
- DuplicateWaitObjectException.cs
- RelationshipConverter.cs
- DataGridLinkButton.cs
- XPathNavigatorReader.cs
- DataGridLength.cs
- Rectangle.cs
- DataServiceContext.cs
- BezierSegment.cs
- ModelTreeEnumerator.cs
- ArrayEditor.cs
- ScriptManagerProxy.cs
- DataSourceCollectionBase.cs
- ChannelServices.cs
- iisPickupDirectory.cs
- DashStyle.cs
- TimeZone.cs
- NetworkInterface.cs
- StrongNameUtility.cs
- TypedTableBaseExtensions.cs
- WebSysDefaultValueAttribute.cs
- BlurEffect.cs
- LeafCellTreeNode.cs
- MailWriter.cs
- ThrowHelper.cs
- OracleColumn.cs
- ExpressionPrefixAttribute.cs
- Int16.cs
- XmlText.cs
- DataBoundControlHelper.cs