Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- CaseDesigner.xaml.cs
- TextAdaptor.cs
- ReliableChannelListener.cs
- NotSupportedException.cs
- QueryAccessibilityHelpEvent.cs
- PageWrapper.cs
- TranslateTransform3D.cs
- UIAgentAsyncParams.cs
- TextContainer.cs
- BaseEntityWrapper.cs
- DiscoveryMessageSequenceGenerator.cs
- ResourceCategoryAttribute.cs
- XmlIlGenerator.cs
- TextSelectionHelper.cs
- TokenBasedSetEnumerator.cs
- Restrictions.cs
- StringValidatorAttribute.cs
- MobileFormsAuthentication.cs
- DbParameterCollection.cs
- TextParagraphProperties.cs
- DefaultTraceListener.cs
- FormViewInsertEventArgs.cs
- GroupQuery.cs
- XmlArrayItemAttribute.cs
- TimeSpanMinutesOrInfiniteConverter.cs
- PipelineModuleStepContainer.cs
- DataControlFieldHeaderCell.cs
- SQLMembershipProvider.cs
- InputLanguage.cs
- ListControl.cs
- Stacktrace.cs
- QilXmlReader.cs
- LinearQuaternionKeyFrame.cs
- ServiceErrorHandler.cs
- PenContexts.cs
- UIElementPropertyUndoUnit.cs
- MultiPartWriter.cs
- ConditionBrowserDialog.cs
- DataGridTable.cs
- MediaTimeline.cs
- RenderingBiasValidation.cs
- PtsHost.cs
- MetafileHeader.cs
- WindowsGraphicsCacheManager.cs
- Shape.cs
- TaiwanLunisolarCalendar.cs
- odbcmetadatacolumnnames.cs
- DbLambda.cs
- DurableInstancingOptions.cs
- FlowDocumentView.cs
- ValuePattern.cs
- FixedDSBuilder.cs
- SmtpLoginAuthenticationModule.cs
- AuthenticateEventArgs.cs
- ChtmlPhoneCallAdapter.cs
- DES.cs
- CalendarKeyboardHelper.cs
- DragDropHelper.cs
- UICuesEvent.cs
- User.cs
- DrawListViewSubItemEventArgs.cs
- MembershipUser.cs
- TextFormattingConverter.cs
- SplitterEvent.cs
- WebHeaderCollection.cs
- QuaternionValueSerializer.cs
- BinHexEncoder.cs
- ParallelTimeline.cs
- EndpointInfo.cs
- SHA1Managed.cs
- TextBox.cs
- TabletDevice.cs
- Highlights.cs
- PropertySegmentSerializer.cs
- XmlSerializerFactory.cs
- PasswordBox.cs
- IsolationInterop.cs
- RecognizerStateChangedEventArgs.cs
- DynamicPhysicalDiscoSearcher.cs
- RuntimeHelpers.cs
- Calendar.cs
- Configuration.cs
- EventPrivateKey.cs
- ControlPaint.cs
- PrintDialog.cs
- CodeNamespaceImport.cs
- VisualStyleTypesAndProperties.cs
- SpotLight.cs
- StructuredTypeInfo.cs
- Debug.cs
- DynamicObjectAccessor.cs
- CodeStatement.cs
- SystemIPInterfaceProperties.cs
- BitmapMetadataEnumerator.cs
- InputReport.cs
- DataViewListener.cs
- ControlBuilderAttribute.cs
- SQLDateTimeStorage.cs
- GregorianCalendarHelper.cs
- WindowsListViewGroup.cs