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 / 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
- SqlBinder.cs
- TextServicesDisplayAttribute.cs
- DoubleCollectionConverter.cs
- Translator.cs
- ConfigXmlReader.cs
- WebSysDisplayNameAttribute.cs
- WebMessageEncoderFactory.cs
- HelpProvider.cs
- XmlWellformedWriterHelpers.cs
- IndentTextWriter.cs
- SmtpDateTime.cs
- WebRequest.cs
- GridViewSelectEventArgs.cs
- TableCellCollection.cs
- CTreeGenerator.cs
- GcSettings.cs
- SamlAuthenticationStatement.cs
- ComplexPropertyEntry.cs
- ObjectQueryExecutionPlan.cs
- MSAAEventDispatcher.cs
- DecimalConstantAttribute.cs
- URLAttribute.cs
- DoubleAnimationUsingPath.cs
- CodeGenerationManager.cs
- NotImplementedException.cs
- TreeNodeStyleCollection.cs
- WebPartAuthorizationEventArgs.cs
- ServerProtocol.cs
- TickBar.cs
- ExpressionPrefixAttribute.cs
- NonDualMessageSecurityOverHttp.cs
- BitmapImage.cs
- EntityContainerRelationshipSet.cs
- PaintEvent.cs
- PathGradientBrush.cs
- RequiredFieldValidator.cs
- DictionaryEntry.cs
- ExtensionWindowHeader.cs
- RichTextBoxConstants.cs
- DesignerCommandAdapter.cs
- CustomSignedXml.cs
- RepeaterItemCollection.cs
- HostVisual.cs
- WindowHideOrCloseTracker.cs
- MdImport.cs
- IntSumAggregationOperator.cs
- ColorConverter.cs
- Types.cs
- Verify.cs
- ProxyWebPartConnectionCollection.cs
- SkipQueryOptionExpression.cs
- RouteItem.cs
- DataControlFieldTypeEditor.cs
- basenumberconverter.cs
- SqlDataSourceEnumerator.cs
- CollectionChangeEventArgs.cs
- NameValuePermission.cs
- ListViewVirtualItemsSelectionRangeChangedEvent.cs
- FamilyTypefaceCollection.cs
- Operators.cs
- DataGridViewControlCollection.cs
- Animatable.cs
- sortedlist.cs
- HostingEnvironmentSection.cs
- CompilerHelpers.cs
- WebServiceParameterData.cs
- PageAsyncTask.cs
- TypeConverterHelper.cs
- WhitespaceRuleLookup.cs
- UIPermission.cs
- DataRowExtensions.cs
- SecurityTokenTypes.cs
- ResourceAttributes.cs
- X509SecurityTokenProvider.cs
- ArrayConverter.cs
- CompositeDataBoundControl.cs
- MessageQueue.cs
- MergeLocalizationDirectives.cs
- ChildrenQuery.cs
- SettingsPropertyIsReadOnlyException.cs
- ValueUnavailableException.cs
- AvTraceDetails.cs
- DataViewSetting.cs
- BookmarkScopeManager.cs
- ExtendedProperty.cs
- GridSplitterAutomationPeer.cs
- figurelengthconverter.cs
- PolygonHotSpot.cs
- ForwardPositionQuery.cs
- HtmlTitle.cs
- ILGenerator.cs
- TriggerAction.cs
- ExpressionBindings.cs
- ObjectConverter.cs
- SiteOfOriginPart.cs
- StringValidator.cs
- Tokenizer.cs
- StringValidatorAttribute.cs
- Sql8ExpressionRewriter.cs
- HWStack.cs