Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- AccessDataSourceWizardForm.cs
- TextEditorCopyPaste.cs
- PartBasedPackageProperties.cs
- CubicEase.cs
- SecurityCriticalDataForSet.cs
- _emptywebproxy.cs
- FormViewUpdateEventArgs.cs
- XsdDateTime.cs
- GenericAuthenticationEventArgs.cs
- XmlNamespaceDeclarationsAttribute.cs
- GrabHandleGlyph.cs
- AssociationType.cs
- ScriptMethodAttribute.cs
- DataChangedEventManager.cs
- ParseHttpDate.cs
- AssemblyInfo.cs
- NGCSerializationManagerAsync.cs
- OdbcEnvironmentHandle.cs
- WrappingXamlSchemaContext.cs
- ListControlConvertEventArgs.cs
- DefaultDialogButtons.cs
- AssemblyBuilderData.cs
- CodeGenHelper.cs
- BinaryObjectWriter.cs
- SqlSupersetValidator.cs
- WebPartHeaderCloseVerb.cs
- AxWrapperGen.cs
- SmiContextFactory.cs
- StatusStrip.cs
- WebEvents.cs
- OperationCanceledException.cs
- DynamicResourceExtension.cs
- ContentDesigner.cs
- ObjectDataSourceMethodEditor.cs
- ComplexObject.cs
- _PooledStream.cs
- RolePrincipal.cs
- AnnotationHighlightLayer.cs
- ControlSerializer.cs
- BindableAttribute.cs
- InvalidCastException.cs
- InputGestureCollection.cs
- ContextMarshalException.cs
- TraceXPathNavigator.cs
- Stylesheet.cs
- XmlSerializerAssemblyAttribute.cs
- RadioButtonAutomationPeer.cs
- SoapClientProtocol.cs
- HttpRequest.cs
- XmlExpressionDumper.cs
- AsymmetricKeyExchangeDeformatter.cs
- Random.cs
- IndentedTextWriter.cs
- ElementInit.cs
- ExpressionNode.cs
- KeyedByTypeCollection.cs
- HeaderCollection.cs
- ComboBoxItem.cs
- StylusLogic.cs
- coordinatorfactory.cs
- ElementNotAvailableException.cs
- _IPv4Address.cs
- NullableBoolConverter.cs
- CatalogUtil.cs
- SspiWrapper.cs
- ProcessProtocolHandler.cs
- EdmComplexTypeAttribute.cs
- WsatConfiguration.cs
- ToolStripRenderEventArgs.cs
- WebPartRestoreVerb.cs
- XmlRootAttribute.cs
- XmlException.cs
- Rectangle.cs
- ExpressionBindings.cs
- mediapermission.cs
- TableHeaderCell.cs
- SwitchLevelAttribute.cs
- ImageAutomationPeer.cs
- assemblycache.cs
- RenderDataDrawingContext.cs
- AsyncInvokeContext.cs
- TreeViewAutomationPeer.cs
- StructuredProperty.cs
- XmlTypeMapping.cs
- dataprotectionpermissionattribute.cs
- LinkedList.cs
- ObjectCache.cs
- NameValueConfigurationElement.cs
- CookieProtection.cs
- CodeIdentifier.cs
- FilterableAttribute.cs
- ReadWriteSpinLock.cs
- HtmlImage.cs
- SimplePropertyEntry.cs
- DiagnosticSection.cs
- SchemaInfo.cs
- SplitterPanel.cs
- InstanceHandleConflictException.cs
- ProofTokenCryptoHandle.cs
- Encoding.cs