Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / ComponentModel / Design / ComponentChangingEvent.cs / 1305376 / 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
- AesManaged.cs
- QuarticEase.cs
- ScriptResourceInfo.cs
- CultureSpecificStringDictionary.cs
- SettingsContext.cs
- PluralizationService.cs
- EventSinkHelperWriter.cs
- CorrelationManager.cs
- ListBoxItemWrapperAutomationPeer.cs
- RawUIStateInputReport.cs
- StyleBamlRecordReader.cs
- CounterCreationDataCollection.cs
- ConsumerConnectionPointCollection.cs
- SelectManyQueryOperator.cs
- TreePrinter.cs
- HttpListenerResponse.cs
- SetterBaseCollection.cs
- OdbcException.cs
- RecognitionEventArgs.cs
- DifferencingCollection.cs
- ThreadStartException.cs
- DBPropSet.cs
- PixelShader.cs
- LongValidatorAttribute.cs
- ExpressionBuilder.cs
- RecommendedAsConfigurableAttribute.cs
- SubstitutionResponseElement.cs
- InlineCollection.cs
- ProcessModelSection.cs
- HttpPostedFileWrapper.cs
- XmlQueryStaticData.cs
- ToolStripTextBox.cs
- QueryAccessibilityHelpEvent.cs
- URLEditor.cs
- QueryCorrelationInitializer.cs
- PaperSize.cs
- TableDetailsRow.cs
- StrokeRenderer.cs
- InternalPermissions.cs
- MasterPage.cs
- Boolean.cs
- Point3DConverter.cs
- PropertyDescriptorComparer.cs
- Model3DGroup.cs
- ClockGroup.cs
- TimeManager.cs
- GiveFeedbackEvent.cs
- ButtonAutomationPeer.cs
- ShaperBuffers.cs
- MeasureItemEvent.cs
- RadioButtonBaseAdapter.cs
- RecordsAffectedEventArgs.cs
- FirstMatchCodeGroup.cs
- NamespaceTable.cs
- GridProviderWrapper.cs
- PixelFormats.cs
- QueryInterceptorAttribute.cs
- InputLanguage.cs
- ExceptionUtility.cs
- OutOfMemoryException.cs
- Int16Storage.cs
- RoleService.cs
- _ChunkParse.cs
- JsonGlobals.cs
- CompiledRegexRunner.cs
- PropertyChangingEventArgs.cs
- DependencyPropertyValueSerializer.cs
- DirectoryNotFoundException.cs
- TerminateDesigner.cs
- WindowsNonControl.cs
- KeyedQueue.cs
- ReferenceEqualityComparer.cs
- SqlCommandBuilder.cs
- FontStyle.cs
- ProcessManager.cs
- ConstraintEnumerator.cs
- HtmlInputImage.cs
- PerformanceCounterPermission.cs
- SequentialActivityDesigner.cs
- SQLBytes.cs
- NameTable.cs
- ProcessInputEventArgs.cs
- DbProviderServices.cs
- XmlnsDictionary.cs
- AdornerLayer.cs
- DbParameterCollectionHelper.cs
- TypedTableBase.cs
- OdbcReferenceCollection.cs
- SetIterators.cs
- ProtocolInformationWriter.cs
- TypeDependencyAttribute.cs
- WebControlAdapter.cs
- ToolStripItemRenderEventArgs.cs
- TemplateParser.cs
- ResourcesChangeInfo.cs
- SocketException.cs
- DesignTimeVisibleAttribute.cs
- ContractReference.cs
- ICspAsymmetricAlgorithm.cs
- ConfigXmlText.cs