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
- ProfileParameter.cs
- TargetConverter.cs
- RuntimeCompatibilityAttribute.cs
- BindingManagerDataErrorEventArgs.cs
- ActivationArguments.cs
- IPEndPointCollection.cs
- CheckBox.cs
- AttachedPropertyMethodSelector.cs
- JsonObjectDataContract.cs
- MultiView.cs
- Input.cs
- HtmlInputPassword.cs
- SchemaMapping.cs
- BindingValueChangedEventArgs.cs
- CheckPair.cs
- DesignerToolboxInfo.cs
- XPathDocumentNavigator.cs
- smtpconnection.cs
- CommonObjectSecurity.cs
- VectorAnimation.cs
- SegmentInfo.cs
- AudioLevelUpdatedEventArgs.cs
- PenContext.cs
- MSAAEventDispatcher.cs
- autovalidator.cs
- StreamedWorkflowDefinitionContext.cs
- SkinBuilder.cs
- MergeExecutor.cs
- XmlSchemaGroup.cs
- TypeUsageBuilder.cs
- COSERVERINFO.cs
- ThicknessAnimationBase.cs
- ObjectReaderCompiler.cs
- OracleConnectionString.cs
- SiteMapNodeItem.cs
- DataComponentNameHandler.cs
- storepermissionattribute.cs
- ContextBase.cs
- RadialGradientBrush.cs
- safemediahandle.cs
- UpdateCommandGenerator.cs
- SafeBitVector32.cs
- InstanceDescriptor.cs
- TemplateBindingExpression.cs
- PartDesigner.cs
- CodeExporter.cs
- SecurityTokenRequirement.cs
- SetIterators.cs
- SizeChangedInfo.cs
- SpecialNameAttribute.cs
- OledbConnectionStringbuilder.cs
- EncodingFallbackAwareXmlTextWriter.cs
- DependencyObjectPropertyDescriptor.cs
- Profiler.cs
- ClientRuntimeConfig.cs
- TraceRecords.cs
- DataGridViewCellStyleChangedEventArgs.cs
- ExtensionDataObject.cs
- TCPListener.cs
- FixedSOMTextRun.cs
- Version.cs
- AvTraceDetails.cs
- PrimitiveXmlSerializers.cs
- SeverityFilter.cs
- DataGridColumn.cs
- StsCommunicationException.cs
- VideoDrawing.cs
- xmlfixedPageInfo.cs
- FindCriteriaElement.cs
- ListenerSingletonConnectionReader.cs
- Point3DCollection.cs
- WebBaseEventKeyComparer.cs
- WebScriptMetadataMessageEncoderFactory.cs
- SubclassTypeValidator.cs
- HighlightVisual.cs
- DataGridViewImageColumn.cs
- HierarchicalDataTemplate.cs
- UInt64Converter.cs
- DataGridViewSelectedCellCollection.cs
- AssociationSetMetadata.cs
- TextOnlyOutput.cs
- validationstate.cs
- DataGridViewCheckBoxColumn.cs
- AnnouncementEventArgs.cs
- XmlSerializerVersionAttribute.cs
- TypeToArgumentTypeConverter.cs
- ToolboxCategoryItems.cs
- FormsIdentity.cs
- TabPage.cs
- HtmlTableCell.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- ChtmlSelectionListAdapter.cs
- RefExpr.cs
- TextEndOfLine.cs
- NetworkInformationException.cs
- ReadOnlyDictionary.cs
- COM2Properties.cs
- WebPartUtil.cs
- SafeRightsManagementQueryHandle.cs
- QueryGeneratorBase.cs