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
- BitmapData.cs
- SpeechDetectedEventArgs.cs
- IndentedTextWriter.cs
- BufferedStream.cs
- SqlNodeTypeOperators.cs
- SspiSecurityTokenParameters.cs
- SchemaNames.cs
- ThreadStateException.cs
- Parameter.cs
- ObjectNavigationPropertyMapping.cs
- IsolatedStorage.cs
- TypedReference.cs
- CuspData.cs
- SerializationObjectManager.cs
- SequentialOutput.cs
- WebUtil.cs
- RangeValuePattern.cs
- DiscoveryClient.cs
- NotFiniteNumberException.cs
- WSAddressing10ProblemHeaderQNameFault.cs
- GetBrowserTokenRequest.cs
- XmlUnspecifiedAttribute.cs
- MexBindingBindingCollectionElement.cs
- TrustDriver.cs
- DocumentPageTextView.cs
- SqlMethodAttribute.cs
- WebBrowserUriTypeConverter.cs
- ControlValuePropertyAttribute.cs
- ValidationPropertyAttribute.cs
- VSWCFServiceContractGenerator.cs
- OptimalBreakSession.cs
- EventLogQuery.cs
- StringUtil.cs
- FunctionNode.cs
- MembershipUser.cs
- CapabilitiesUse.cs
- GraphicsContext.cs
- MembershipAdapter.cs
- UriSection.cs
- ListViewItemMouseHoverEvent.cs
- XPathSelectionIterator.cs
- AbsoluteQuery.cs
- JavascriptCallbackBehaviorAttribute.cs
- Events.cs
- X509CertificateRecipientClientCredential.cs
- SchemaManager.cs
- WebControlParameterProxy.cs
- IntSecurity.cs
- CodeDelegateInvokeExpression.cs
- XmlSchemaNotation.cs
- TypeBuilder.cs
- ClientTargetCollection.cs
- XmlUtil.cs
- _OSSOCK.cs
- AnnotationResourceChangedEventArgs.cs
- EditorResources.cs
- XsltQilFactory.cs
- XmlSchemas.cs
- OleDbPropertySetGuid.cs
- CompensationHandlingFilter.cs
- NameValueSectionHandler.cs
- GridView.cs
- DesignerHost.cs
- FormsAuthenticationUserCollection.cs
- DataGridSortCommandEventArgs.cs
- XmlSchemaSimpleContent.cs
- CustomWebEventKey.cs
- CheckBoxRenderer.cs
- SQLResource.cs
- DbProviderFactory.cs
- SourceFilter.cs
- BlurEffect.cs
- _Rfc2616CacheValidators.cs
- WebPartDeleteVerb.cs
- ValidationErrorCollection.cs
- XamlParser.cs
- ShapeTypeface.cs
- XsltOutput.cs
- ResourcePool.cs
- ConnectionManagementElement.cs
- DependencyPropertyValueSerializer.cs
- DataConnectionHelper.cs
- EventManager.cs
- Models.cs
- SubclassTypeValidatorAttribute.cs
- GenericTypeParameterConverter.cs
- EventWaitHandleSecurity.cs
- DoubleLinkListEnumerator.cs
- XPathAncestorIterator.cs
- EventLogTraceListener.cs
- ToolStripSystemRenderer.cs
- ResourcePool.cs
- PropertyPushdownHelper.cs
- WindowsTooltip.cs
- AdornedElementPlaceholder.cs
- SecureUICommand.cs
- ThreadPool.cs
- DictionaryChange.cs
- Icon.cs
- ColorContext.cs