Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- TemplateBindingExpression.cs
- RepeatInfo.cs
- PersistenceTypeAttribute.cs
- WebControlsSection.cs
- DataGridPageChangedEventArgs.cs
- XMLSchema.cs
- BitmapEncoder.cs
- EntitySet.cs
- RelatedEnd.cs
- TextSegment.cs
- ConnectionStringsExpressionBuilder.cs
- DataErrorValidationRule.cs
- StringValidatorAttribute.cs
- LogExtentCollection.cs
- BrushValueSerializer.cs
- OleDbPropertySetGuid.cs
- ObjectHandle.cs
- TextBoxAutoCompleteSourceConverter.cs
- Options.cs
- PersianCalendar.cs
- httpapplicationstate.cs
- WebPartTransformerAttribute.cs
- RightsManagementInformation.cs
- FontCollection.cs
- DataGridViewCellConverter.cs
- ItemList.cs
- NullableConverter.cs
- AssemblyAttributes.cs
- RegexParser.cs
- GroupBoxAutomationPeer.cs
- DependencyPropertyValueSerializer.cs
- TextReader.cs
- InvokeMethodActivityDesigner.cs
- Rotation3DKeyFrameCollection.cs
- UrlAuthFailedErrorFormatter.cs
- ElementHostPropertyMap.cs
- CriticalExceptions.cs
- PageSettings.cs
- WindowsIdentity.cs
- OneOfTypeConst.cs
- ResourceExpressionBuilder.cs
- SharedHttpTransportManager.cs
- SQLGuid.cs
- LogEntry.cs
- HttpCookiesSection.cs
- coordinatorscratchpad.cs
- ToolStripProgressBar.cs
- TimeZone.cs
- DataKeyCollection.cs
- StaticSiteMapProvider.cs
- ItemCollection.cs
- ArraySortHelper.cs
- SqlDataSourceEnumerator.cs
- EntityModelBuildProvider.cs
- AddingNewEventArgs.cs
- RowToFieldTransformer.cs
- TreeBuilderBamlTranslator.cs
- TraceLevelHelper.cs
- MexNamedPipeBindingCollectionElement.cs
- GB18030Encoding.cs
- ExpandedWrapper.cs
- RectConverter.cs
- RightsManagementLicense.cs
- TableCell.cs
- ExeContext.cs
- NameValuePair.cs
- HostingEnvironmentSection.cs
- DesignerView.cs
- BeginStoryboard.cs
- ResourcesGenerator.cs
- EncodingNLS.cs
- ControlBuilder.cs
- MsdtcClusterUtils.cs
- OpenTypeCommon.cs
- HandlerFactoryWrapper.cs
- DataGridViewTextBoxEditingControl.cs
- ToolStripLabel.cs
- ToolStripSeparatorRenderEventArgs.cs
- EmbossBitmapEffect.cs
- StorageConditionPropertyMapping.cs
- SqlTriggerContext.cs
- XamlReaderConstants.cs
- BuilderPropertyEntry.cs
- LambdaCompiler.Statements.cs
- SHA256Managed.cs
- Logging.cs
- SchemaNames.cs
- WebResponse.cs
- SecurityPolicySection.cs
- ValidationResult.cs
- ThreadStateException.cs
- _NestedMultipleAsyncResult.cs
- CollectionMarkupSerializer.cs
- EntityKeyElement.cs
- AssociatedControlConverter.cs
- DropTarget.cs
- LinkDescriptor.cs
- ArglessEventHandlerProxy.cs
- TableCell.cs
- TargetConverter.cs