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
- ScriptMethodAttribute.cs
- OleDbRowUpdatingEvent.cs
- BlurEffect.cs
- BuildResult.cs
- XmlSchemaSimpleContent.cs
- IndexedString.cs
- PointIndependentAnimationStorage.cs
- KeyboardInputProviderAcquireFocusEventArgs.cs
- PerfCounterSection.cs
- MarkedHighlightComponent.cs
- FileDataSourceCache.cs
- MemberRestriction.cs
- UnsettableComboBox.cs
- ArgumentNullException.cs
- WebServiceFault.cs
- WebScriptClientGenerator.cs
- XmlValidatingReaderImpl.cs
- NonParentingControl.cs
- MergePropertyDescriptor.cs
- HttpChannelHelper.cs
- OutputWindow.cs
- Selection.cs
- _SslSessionsCache.cs
- Misc.cs
- TimeSpanOrInfiniteValidator.cs
- SymmetricKey.cs
- FixedSOMPageConstructor.cs
- PeerCollaborationPermission.cs
- WebPartPersonalization.cs
- templategroup.cs
- MetadataArtifactLoaderResource.cs
- ToolStripItem.cs
- HandoffBehavior.cs
- NameValueCollection.cs
- MarkupCompilePass1.cs
- DelegateBodyWriter.cs
- BaseConfigurationRecord.cs
- DesignerAttribute.cs
- WebPartUserCapability.cs
- XmlBindingWorker.cs
- CfgSemanticTag.cs
- ReadOnlyDictionary.cs
- BatchParser.cs
- BrushValueSerializer.cs
- WindowsGraphicsCacheManager.cs
- _SecureChannel.cs
- XmlCustomFormatter.cs
- RelatedPropertyManager.cs
- WindowsListView.cs
- Int16AnimationBase.cs
- TreeViewItemAutomationPeer.cs
- CompiledQueryCacheKey.cs
- AttributeCollection.cs
- ToolStripSplitStackLayout.cs
- SizeAnimation.cs
- SqlAggregateChecker.cs
- DrawingContextDrawingContextWalker.cs
- MemberHolder.cs
- SafeNativeMethods.cs
- ToolStripDropDownItem.cs
- ActivityInterfaces.cs
- XamlSerializerUtil.cs
- PropertiesTab.cs
- MediaTimeline.cs
- ToolStripContentPanel.cs
- SortAction.cs
- Separator.cs
- DelegateCompletionCallbackWrapper.cs
- PrinterSettings.cs
- SystemNetworkInterface.cs
- SystemBrushes.cs
- FontFamily.cs
- HybridDictionary.cs
- ScopelessEnumAttribute.cs
- SoapInteropTypes.cs
- DbConnectionHelper.cs
- Int32AnimationBase.cs
- EnumerableWrapperWeakToStrong.cs
- Matrix3DValueSerializer.cs
- Html32TextWriter.cs
- CommandHelper.cs
- DragDeltaEventArgs.cs
- SimpleType.cs
- WorkflowServiceNamespace.cs
- EmptyStringExpandableObjectConverter.cs
- CSharpCodeProvider.cs
- SQLInt16.cs
- Highlights.cs
- MemberRelationshipService.cs
- BaseResourcesBuildProvider.cs
- UserNameSecurityTokenAuthenticator.cs
- NonClientArea.cs
- WebEvents.cs
- CodeIdentifier.cs
- WindowsListViewScroll.cs
- Guid.cs
- NullReferenceException.cs
- ReceiveActivityValidator.cs
- WindowsStatusBar.cs
- RepeaterCommandEventArgs.cs