Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / CompMod / System / CodeDOM / CodeRemoveEventStatement.cs / 1 / CodeRemoveEventStatement.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ////// [ 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; } } } }/// The listener. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DSASignatureFormatter.cs
- ReliableSessionBindingElement.cs
- ToolTipService.cs
- PropertyMetadata.cs
- IImplicitResourceProvider.cs
- cryptoapiTransform.cs
- PrePrepareMethodAttribute.cs
- RangeValueProviderWrapper.cs
- CornerRadiusConverter.cs
- InvokeWebService.cs
- TraceSwitch.cs
- Viewport3DVisual.cs
- complextypematerializer.cs
- SafeRegistryHandle.cs
- DrawingAttributeSerializer.cs
- WebBrowserDesigner.cs
- Subset.cs
- HostSecurityManager.cs
- Clipboard.cs
- ResXResourceSet.cs
- Baml2006KeyRecord.cs
- DataBoundControlHelper.cs
- OutputCacheModule.cs
- StringAnimationUsingKeyFrames.cs
- SmiContextFactory.cs
- ShaderRenderModeValidation.cs
- SelectionProcessor.cs
- XslTransform.cs
- SvcMapFile.cs
- StrongNameUtility.cs
- Style.cs
- XPathDescendantIterator.cs
- PathFigureCollection.cs
- iisPickupDirectory.cs
- CheckBoxStandardAdapter.cs
- TextDocumentView.cs
- VoiceInfo.cs
- Random.cs
- AppDomainShutdownMonitor.cs
- RecordConverter.cs
- DataGridViewCellMouseEventArgs.cs
- LinkButton.cs
- ImmComposition.cs
- BitHelper.cs
- Material.cs
- COM2IProvidePropertyBuilderHandler.cs
- ReadOnlyNameValueCollection.cs
- SharedTcpTransportManager.cs
- SyntaxCheck.cs
- RoutedEventArgs.cs
- PerformanceCounterPermissionAttribute.cs
- ItemContainerProviderWrapper.cs
- SafeRightsManagementHandle.cs
- HotSpotCollection.cs
- Vector3DKeyFrameCollection.cs
- VisualStyleTypesAndProperties.cs
- MsmqIntegrationSecurityMode.cs
- EndpointBehaviorElementCollection.cs
- Sentence.cs
- UInt16.cs
- TcpWorkerProcess.cs
- SafeNativeMethods.cs
- Debugger.cs
- MemberHolder.cs
- TextTreeTextBlock.cs
- DesignTimeValidationFeature.cs
- DataGridColumn.cs
- metadatamappinghashervisitor.cs
- precedingsibling.cs
- ReachVisualSerializerAsync.cs
- MenuScrollingVisibilityConverter.cs
- DataKeyCollection.cs
- WindowHideOrCloseTracker.cs
- ConfigXmlWhitespace.cs
- TextServicesPropertyRanges.cs
- ProfileInfo.cs
- WindowsRegion.cs
- TemplateBaseAction.cs
- PointCollectionValueSerializer.cs
- VisualStyleElement.cs
- srgsitem.cs
- StrokeNodeOperations2.cs
- InstanceHandleConflictException.cs
- GuidelineSet.cs
- PrtTicket_Public.cs
- Catch.cs
- InternalSendMessage.cs
- AnimationLayer.cs
- TimersDescriptionAttribute.cs
- TableAutomationPeer.cs
- ProxyHelper.cs
- ManagedIStream.cs
- CommandPlan.cs
- QilTypeChecker.cs
- ResourceAttributes.cs
- DataGridViewRowConverter.cs
- HtmlInputCheckBox.cs
- DataGridViewAccessibleObject.cs
- MemoryFailPoint.cs
- _FixedSizeReader.cs