Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / CompMod / System / ComponentModel / Design / ComponentChangingEvent.cs / 1 / ComponentChangingEvent.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.LinkDemand, Name="FullTrust")] public sealed class ComponentChangingEventArgs : EventArgs { private object component; private MemberDescriptor member; ///Provides data for the ///event. /// public object Component { get { return component; } } ////// Gets or sets the component that is being changed or that is the parent container of the member being changed. /// ////// public MemberDescriptor Member { get { return member; } } ////// Gets or sets the member of the component that is about to be changed. /// ////// public ComponentChangingEventArgs(object component, MemberDescriptor member) { this.component = component; this.member = member; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// Initializes a new instance of the ///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.LinkDemand, Name="FullTrust")] public sealed class ComponentChangingEventArgs : EventArgs { private object component; private MemberDescriptor member; ///Provides data for the ///event. /// public object Component { get { return component; } } ////// Gets or sets the component that is being changed or that is the parent container of the member being changed. /// ////// public MemberDescriptor Member { get { return member; } } ////// Gets or sets the member of the component that is about to be changed. /// ////// public ComponentChangingEventArgs(object component, MemberDescriptor member) { this.component = component; this.member = member; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// Initializes a new instance of the ///class. ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TogglePatternIdentifiers.cs
- XmlHierarchyData.cs
- TransportBindingElementImporter.cs
- StreamResourceInfo.cs
- CharAnimationBase.cs
- SystemIcons.cs
- KeyMatchBuilder.cs
- DataRecordInternal.cs
- SessionStateItemCollection.cs
- SqlGenericUtil.cs
- PolygonHotSpot.cs
- HttpContext.cs
- TriggerAction.cs
- XmlnsDefinitionAttribute.cs
- ExpressionLexer.cs
- ZipIOLocalFileBlock.cs
- Brush.cs
- CircleHotSpot.cs
- MenuItemStyleCollection.cs
- HighContrastHelper.cs
- IndexOutOfRangeException.cs
- BitmapEffectOutputConnector.cs
- CallbackValidator.cs
- BitmapEffectOutputConnector.cs
- EntitySet.cs
- TemplateBindingExtensionConverter.cs
- StringFunctions.cs
- StatusStrip.cs
- Membership.cs
- XhtmlTextWriter.cs
- WSFederationHttpSecurity.cs
- DrawingBrush.cs
- TypeFieldSchema.cs
- ReadWriteObjectLock.cs
- FormViewCommandEventArgs.cs
- NameSpaceExtractor.cs
- MonthCalendar.cs
- ToolStripDropTargetManager.cs
- WindowsFormsEditorServiceHelper.cs
- ParseChildrenAsPropertiesAttribute.cs
- TimeSpanConverter.cs
- SynchronizationLockException.cs
- XamlTypeMapperSchemaContext.cs
- OrderingQueryOperator.cs
- externdll.cs
- ObjectToIdCache.cs
- Keyboard.cs
- PasswordTextNavigator.cs
- Tokenizer.cs
- MediaPlayer.cs
- FlatButtonAppearance.cs
- ControlCollection.cs
- XmlMapping.cs
- DesignerToolboxInfo.cs
- Stack.cs
- TextPenaltyModule.cs
- TextBoxAutomationPeer.cs
- ParentUndoUnit.cs
- Form.cs
- FileUpload.cs
- ScriptComponentDescriptor.cs
- Int32RectConverter.cs
- DependencyObjectType.cs
- OdbcParameter.cs
- StreamWriter.cs
- IProvider.cs
- RegistryConfigurationProvider.cs
- TraceRecord.cs
- ThemeDirectoryCompiler.cs
- MailMessage.cs
- Certificate.cs
- InputElement.cs
- RuntimeConfig.cs
- CharAnimationUsingKeyFrames.cs
- SecurityUtils.cs
- HtmlTextArea.cs
- DbDataRecord.cs
- DefaultMemberAttribute.cs
- SpecialFolderEnumConverter.cs
- Repeater.cs
- GCHandleCookieTable.cs
- CatalogPartDesigner.cs
- WorkflowInstanceAbortedRecord.cs
- StateManager.cs
- Point3DAnimationBase.cs
- RectangleF.cs
- AppearanceEditorPart.cs
- CompiledQuery.cs
- PathHelper.cs
- FileDialog.cs
- GlyphsSerializer.cs
- RestHandler.cs
- TypeSystem.cs
- QueryOperator.cs
- XmlAttribute.cs
- KeyManager.cs
- DataRecord.cs
- PrintDialogDesigner.cs
- ExceptionDetail.cs
- TabItemAutomationPeer.cs