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 / 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; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// The listener. /// ///// 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; } } } } // 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
- OpCodes.cs
- AccessibilityHelperForXpWin2k3.cs
- ActiveDocumentEvent.cs
- StrokeDescriptor.cs
- SqlCacheDependencyDatabaseCollection.cs
- HtmlControl.cs
- HttpCapabilitiesBase.cs
- Stacktrace.cs
- InternalBufferManager.cs
- EdmType.cs
- PolyLineSegment.cs
- StatusBarDesigner.cs
- ObjectDataSourceMethodEventArgs.cs
- NullableDoubleAverageAggregationOperator.cs
- PerformanceCounterLib.cs
- HyperLinkStyle.cs
- ProxyGenerator.cs
- XmlSchemaElement.cs
- IndexedGlyphRun.cs
- DataGridViewColumnCollection.cs
- OutOfProcStateClientManager.cs
- Random.cs
- XmlSchemaComplexContentRestriction.cs
- CodeDelegateCreateExpression.cs
- AutomationAttributeInfo.cs
- LayoutTableCell.cs
- TriState.cs
- SqlUserDefinedTypeAttribute.cs
- DBCommandBuilder.cs
- XmlIncludeAttribute.cs
- ContainerVisual.cs
- HttpListenerTimeoutManager.cs
- SecurityPolicySection.cs
- DependencyProperty.cs
- EmptyEnumerator.cs
- DbMetaDataCollectionNames.cs
- ComponentCollection.cs
- StorageAssociationSetMapping.cs
- ThumbAutomationPeer.cs
- hwndwrapper.cs
- SqlProfileProvider.cs
- XAMLParseException.cs
- M3DUtil.cs
- SqlMethodAttribute.cs
- EndpointNameMessageFilter.cs
- TransformPattern.cs
- PromptStyle.cs
- SimpleApplicationHost.cs
- TracedNativeMethods.cs
- GenericPrincipal.cs
- TextSearch.cs
- StylusEventArgs.cs
- RevocationPoint.cs
- HttpApplicationFactory.cs
- TextModifier.cs
- Color.cs
- JumpPath.cs
- CodeIterationStatement.cs
- EventLog.cs
- TableCellAutomationPeer.cs
- DesignerWithHeader.cs
- CompositeActivityMarkupSerializer.cs
- TableRow.cs
- ExceptionNotification.cs
- TraceContextEventArgs.cs
- PkcsUtils.cs
- FunctionUpdateCommand.cs
- LookupBindingPropertiesAttribute.cs
- BitStack.cs
- BackStopAuthenticationModule.cs
- WebPartVerb.cs
- GroupJoinQueryOperator.cs
- DetailsViewDeletedEventArgs.cs
- ObjectStateManager.cs
- XmlSecureResolver.cs
- CodePrimitiveExpression.cs
- DataContractSerializerSection.cs
- GraphicsContainer.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- RoleService.cs
- TemplateManager.cs
- SecurityContext.cs
- RealizedColumnsBlock.cs
- UpdateCommandGenerator.cs
- RuntimeHelpers.cs
- RepeaterCommandEventArgs.cs
- SmtpNegotiateAuthenticationModule.cs
- WebPartCollection.cs
- CompilationLock.cs
- SqlCachedBuffer.cs
- IgnoreSection.cs
- Utils.cs
- Journaling.cs
- SqlDataAdapter.cs
- QilDataSource.cs
- ProxyAttribute.cs
- Button.cs
- DesignerValidationSummaryAdapter.cs
- SourceFilter.cs
- ProcessModuleCollection.cs