Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / CompMod / System / ComponentModel / Design / ComponentEvent.cs / 1 / ComponentEvent.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.ComponentModel.Design { using Microsoft.Win32; using System; using System.ComponentModel; using System.Diagnostics; using System.Security.Permissions; ////// [HostProtection(SharedState = true)] [System.Runtime.InteropServices.ComVisible(true)] [System.Security.Permissions.PermissionSetAttribute(System.Security.Permissions.SecurityAction.InheritanceDemand, Name="FullTrust")] [System.Security.Permissions.PermissionSetAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Name="FullTrust")] public class ComponentEventArgs : EventArgs { private IComponent component; ///Provides data for the System.ComponentModel.Design.IComponentChangeService.ComponentEvent /// event raised for component-level events. ////// public virtual IComponent Component { get { return component; } } ////// Gets or sets the component associated with the event. /// ////// public ComponentEventArgs(IComponent component) { this.component = component; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// Initializes a new instance of the System.ComponentModel.Design.ComponentEventArgs class. /// ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.ComponentModel.Design { using Microsoft.Win32; using System; using System.ComponentModel; using System.Diagnostics; using System.Security.Permissions; ////// [HostProtection(SharedState = true)] [System.Runtime.InteropServices.ComVisible(true)] [System.Security.Permissions.PermissionSetAttribute(System.Security.Permissions.SecurityAction.InheritanceDemand, Name="FullTrust")] [System.Security.Permissions.PermissionSetAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Name="FullTrust")] public class ComponentEventArgs : EventArgs { private IComponent component; ///Provides data for the System.ComponentModel.Design.IComponentChangeService.ComponentEvent /// event raised for component-level events. ////// public virtual IComponent Component { get { return component; } } ////// Gets or sets the component associated with the event. /// ////// public ComponentEventArgs(IComponent component) { this.component = component; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// Initializes a new instance of the System.ComponentModel.Design.ComponentEventArgs class. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ScrollItemPattern.cs
- LogPolicy.cs
- OracleInternalConnection.cs
- NumberSubstitution.cs
- OdbcConnection.cs
- PasswordTextContainer.cs
- UriExt.cs
- Tag.cs
- WindowHideOrCloseTracker.cs
- Journaling.cs
- SqlDeflator.cs
- Action.cs
- TextWriterEngine.cs
- Themes.cs
- ServiceDescription.cs
- DefaultHttpHandler.cs
- QilBinary.cs
- RadioButton.cs
- ToolStripItemEventArgs.cs
- NoClickablePointException.cs
- StaticTextPointer.cs
- XmlUtf8RawTextWriter.cs
- ColorTypeConverter.cs
- HighlightVisual.cs
- ExplicitDiscriminatorMap.cs
- COM2FontConverter.cs
- DefaultCompensation.cs
- QilReplaceVisitor.cs
- InvalidDocumentContentsException.cs
- ExternalFile.cs
- UserControlParser.cs
- ChannelServices.cs
- TextBoxRenderer.cs
- wgx_render.cs
- ScopedKnownTypes.cs
- SecurityElement.cs
- DataGridAutoFormatDialog.cs
- mda.cs
- ManagementObject.cs
- WindowsFormsHost.cs
- ItemCheckedEvent.cs
- DataGridViewCellCancelEventArgs.cs
- XPathParser.cs
- SamlConditions.cs
- SqlServer2KCompatibilityAnnotation.cs
- SystemException.cs
- URI.cs
- MaskedTextBox.cs
- DbParameterCollectionHelper.cs
- NativeMethods.cs
- DataBinding.cs
- SoapIncludeAttribute.cs
- SystemUdpStatistics.cs
- StringArrayConverter.cs
- PropertyCollection.cs
- DbConnectionOptions.cs
- SymbolTable.cs
- _Rfc2616CacheValidators.cs
- BindingList.cs
- SqlProviderUtilities.cs
- SqlConnectionPoolProviderInfo.cs
- ObjectListComponentEditor.cs
- SiteMapHierarchicalDataSourceView.cs
- LifetimeServices.cs
- InvalidComObjectException.cs
- DbException.cs
- SoapDocumentMethodAttribute.cs
- TransactionScope.cs
- Request.cs
- GeneralTransformCollection.cs
- StrongNameIdentityPermission.cs
- Storyboard.cs
- FormatSettings.cs
- ProjectedSlot.cs
- PowerModeChangedEventArgs.cs
- FileDialogCustomPlace.cs
- ObjectHandle.cs
- StorageMappingItemLoader.cs
- Merger.cs
- XmlComment.cs
- UidManager.cs
- BCryptHashAlgorithm.cs
- MediaContext.cs
- Point3DKeyFrameCollection.cs
- ProcessInfo.cs
- MailBnfHelper.cs
- OleDbCommandBuilder.cs
- BroadcastEventHelper.cs
- CompModSwitches.cs
- AdCreatedEventArgs.cs
- DataGridViewRowCollection.cs
- Util.cs
- UrlMappingsSection.cs
- Options.cs
- PanelContainerDesigner.cs
- PageEventArgs.cs
- AttachedPropertyBrowsableAttribute.cs
- FixedElement.cs
- Section.cs
- Delegate.cs