Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / ComponentModel / Design / ComponentEvent.cs / 1305376 / 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
- UIPermission.cs
- SHA512CryptoServiceProvider.cs
- GridErrorDlg.cs
- SmiEventSink_DeferedProcessing.cs
- DataControlImageButton.cs
- WebBrowserSiteBase.cs
- BamlLocalizationDictionary.cs
- listviewsubitemcollectioneditor.cs
- EnumMember.cs
- UncommonField.cs
- LayoutUtils.cs
- FontStyles.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- RoleService.cs
- ZeroOpNode.cs
- VisualBrush.cs
- CommandID.cs
- ExecutionProperties.cs
- BitStack.cs
- SqlCharStream.cs
- EventSinkHelperWriter.cs
- DesignerActionUIStateChangeEventArgs.cs
- SEHException.cs
- Storyboard.cs
- ExtensionQuery.cs
- SiteMapProvider.cs
- GridViewEditEventArgs.cs
- HttpProtocolImporter.cs
- ProfileProvider.cs
- AppModelKnownContentFactory.cs
- FloatUtil.cs
- CellPartitioner.cs
- XhtmlBasicPageAdapter.cs
- UpdateProgress.cs
- ResXResourceReader.cs
- GenericTypeParameterBuilder.cs
- WindowsImpersonationContext.cs
- NavigationPropertySingletonExpression.cs
- TreeWalker.cs
- SchemaInfo.cs
- XmlSchemaSimpleContentRestriction.cs
- DelimitedListTraceListener.cs
- SeekableMessageNavigator.cs
- ActivitySurrogateSelector.cs
- PolyLineSegment.cs
- GridViewRowPresenterBase.cs
- WindowsGrip.cs
- StyleHelper.cs
- Parameter.cs
- PropertyKey.cs
- CellPartitioner.cs
- versioninfo.cs
- ReflectionUtil.cs
- ListMarkerSourceInfo.cs
- AsymmetricCryptoHandle.cs
- MultiPageTextView.cs
- IResourceProvider.cs
- ControlBindingsCollection.cs
- SplitterPanel.cs
- MediaTimeline.cs
- ReferenceEqualityComparer.cs
- MatrixUtil.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- AnnotationMap.cs
- EventLog.cs
- WebPartEditorCancelVerb.cs
- Point3DCollection.cs
- NullableDoubleMinMaxAggregationOperator.cs
- TreeViewBindingsEditorForm.cs
- ListSortDescription.cs
- TextPenaltyModule.cs
- HtmlTitle.cs
- EntityTypeBase.cs
- TextParaLineResult.cs
- DrawListViewSubItemEventArgs.cs
- DesignerUtility.cs
- Comparer.cs
- MappingSource.cs
- ControlUtil.cs
- Win32PrintDialog.cs
- HttpRuntime.cs
- IndentedWriter.cs
- RegexWriter.cs
- InputReport.cs
- ControlBindingsCollection.cs
- ListViewItem.cs
- BinaryNode.cs
- PageParser.cs
- EffectiveValueEntry.cs
- WorkBatch.cs
- FileInfo.cs
- SqlUnionizer.cs
- TransformGroup.cs
- SeekableReadStream.cs
- NumberSubstitution.cs
- ListManagerBindingsCollection.cs
- ObjectTag.cs
- HybridWebProxyFinder.cs
- DataTableCollection.cs
- DllHostInitializer.cs