Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / CodeDOM / CodeRemoveEventStatement.cs / 1305376 / CodeRemoveEventStatement.cs
//------------------------------------------------------------------------------ //// // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ ClassInterface(ClassInterfaceType.AutoDispatch), ComVisible(true), Serializable, ] public class CodeRemoveEventStatement : CodeStatement { private CodeEventReferenceExpression eventRef; private CodeExpression listener; ////// Represents a event detach statement. /// ////// public CodeRemoveEventStatement() { } ////// Initializes a new instance of ///. /// /// public CodeRemoveEventStatement(CodeEventReferenceExpression eventRef, CodeExpression listener) { this.eventRef = eventRef; this.listener = listener; } ////// Initializes a new instance of the ///class using the specified arguments. /// /// public CodeRemoveEventStatement(CodeExpression targetObject, string eventName, CodeExpression listener) { this.eventRef = new CodeEventReferenceExpression(targetObject, eventName); this.listener = listener; } ///[To be supplied.] ////// public CodeEventReferenceExpression Event{ get { if (eventRef == null) { eventRef = new CodeEventReferenceExpression(); } return eventRef; } set { eventRef = value; } } ///[To be supplied.] ////// public CodeExpression Listener { get { return listener; } set { listener = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// The listener. /// ///// // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ ClassInterface(ClassInterfaceType.AutoDispatch), ComVisible(true), Serializable, ] public class CodeRemoveEventStatement : CodeStatement { private CodeEventReferenceExpression eventRef; private CodeExpression listener; ////// Represents a event detach statement. /// ////// public CodeRemoveEventStatement() { } ////// Initializes a new instance of ///. /// /// public CodeRemoveEventStatement(CodeEventReferenceExpression eventRef, CodeExpression listener) { this.eventRef = eventRef; this.listener = listener; } ////// Initializes a new instance of the ///class using the specified arguments. /// /// public CodeRemoveEventStatement(CodeExpression targetObject, string eventName, CodeExpression listener) { this.eventRef = new CodeEventReferenceExpression(targetObject, eventName); this.listener = listener; } ///[To be supplied.] ////// public CodeEventReferenceExpression Event{ get { if (eventRef == null) { eventRef = new CodeEventReferenceExpression(); } return eventRef; } set { eventRef = value; } } ///[To be supplied.] ////// public CodeExpression Listener { get { return listener; } set { listener = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// The listener. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Ref.cs
- ApplicationFileCodeDomTreeGenerator.cs
- FixUp.cs
- DelegatingHeader.cs
- XmlProcessingInstruction.cs
- ExeContext.cs
- Action.cs
- GAC.cs
- SimpleBitVector32.cs
- NotImplementedException.cs
- XmlDocumentType.cs
- MatrixKeyFrameCollection.cs
- ProxyManager.cs
- IIS7UserPrincipal.cs
- PointAnimationUsingKeyFrames.cs
- BitmapEditor.cs
- OleDbConnection.cs
- SafePEFileHandle.cs
- XmlCollation.cs
- ProviderBase.cs
- ListViewInsertedEventArgs.cs
- XmlSchemaSimpleContentExtension.cs
- SignalGate.cs
- FontSizeConverter.cs
- ReferencedAssembly.cs
- SupportingTokenSecurityTokenResolver.cs
- DrawingVisualDrawingContext.cs
- ExceptionHelpers.cs
- DriveInfo.cs
- XhtmlConformanceSection.cs
- BulletedListDesigner.cs
- WeakHashtable.cs
- DefaultHttpHandler.cs
- XmlTypeAttribute.cs
- ImageKeyConverter.cs
- PrimitiveCodeDomSerializer.cs
- DragStartedEventArgs.cs
- ProxyOperationRuntime.cs
- WebPartMenu.cs
- NavigatorOutput.cs
- FixedDocumentPaginator.cs
- UserValidatedEventArgs.cs
- PageBuildProvider.cs
- UIInitializationException.cs
- ImageClickEventArgs.cs
- WebEvents.cs
- SiteMapHierarchicalDataSourceView.cs
- DataFieldConverter.cs
- PreviewControlDesigner.cs
- ConnectionPoint.cs
- Operator.cs
- NameSpaceExtractor.cs
- arc.cs
- WindowsFormsSynchronizationContext.cs
- Exceptions.cs
- DataGridViewElement.cs
- XD.cs
- XsltFunctions.cs
- IndentedTextWriter.cs
- Interlocked.cs
- DateTimeStorage.cs
- XmlValidatingReaderImpl.cs
- RIPEMD160.cs
- XmlSerializerVersionAttribute.cs
- TreeNodeBinding.cs
- Padding.cs
- ServiceThrottle.cs
- CanonicalizationDriver.cs
- DBParameter.cs
- Schema.cs
- SqlFacetAttribute.cs
- x509utils.cs
- EventLogPermissionEntryCollection.cs
- WebPartDisplayModeEventArgs.cs
- SafeRightsManagementHandle.cs
- TemplateNameScope.cs
- SerialPort.cs
- TileBrush.cs
- FieldDescriptor.cs
- HuffCodec.cs
- WorkflowItemsPresenter.cs
- ArrayWithOffset.cs
- TCEAdapterGenerator.cs
- OpenFileDialog.cs
- RuleProcessor.cs
- ImmutableCommunicationTimeouts.cs
- SqlBuffer.cs
- ContentPresenter.cs
- CodeDirectiveCollection.cs
- BitmapEffectInputConnector.cs
- UiaCoreTypesApi.cs
- SqlTrackingWorkflowInstance.cs
- OutputScopeManager.cs
- IgnoreFileBuildProvider.cs
- UIElement3DAutomationPeer.cs
- ArrayItemValue.cs
- MobileControlsSectionHandler.cs
- InplaceBitmapMetadataWriter.cs
- WorkflowDesignerColors.cs
- OleDbConnectionPoolGroupProviderInfo.cs