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
- OutputCacheProfileCollection.cs
- DockPatternIdentifiers.cs
- SignedPkcs7.cs
- RegionData.cs
- ImpersonationContext.cs
- OutputChannel.cs
- FormatConvertedBitmap.cs
- Expander.cs
- ObjectAnimationUsingKeyFrames.cs
- DrawingVisual.cs
- ContentElement.cs
- Boolean.cs
- Relationship.cs
- CompositeFontInfo.cs
- FormatException.cs
- UrlPath.cs
- SchemaType.cs
- OutputCacheProviderCollection.cs
- XhtmlMobileTextWriter.cs
- WindowVisualStateTracker.cs
- EdmEntityTypeAttribute.cs
- ClosureBinding.cs
- SafeCertificateStore.cs
- HeaderLabel.cs
- DataReceivedEventArgs.cs
- SessionPageStateSection.cs
- CallSiteHelpers.cs
- PropertySegmentSerializationProvider.cs
- XmlSchemaValidator.cs
- EnumDataContract.cs
- XmlSchemaSimpleTypeUnion.cs
- RadioButtonList.cs
- PublisherIdentityPermission.cs
- panel.cs
- PtsContext.cs
- ImageMap.cs
- GradientBrush.cs
- DesignTimeSiteMapProvider.cs
- SizeConverter.cs
- EntityDataSourceChangingEventArgs.cs
- DrawingDrawingContext.cs
- TreeWalker.cs
- SqlServer2KCompatibilityCheck.cs
- OciHandle.cs
- ListViewCancelEventArgs.cs
- SwitchLevelAttribute.cs
- RenderCapability.cs
- MetaModel.cs
- OLEDB_Enum.cs
- SqlNamer.cs
- JoinCqlBlock.cs
- TemplateParser.cs
- IISMapPath.cs
- EnumDataContract.cs
- AppSettingsReader.cs
- HttpFileCollection.cs
- ResourceManagerWrapper.cs
- RepeaterDataBoundAdapter.cs
- RelationshipConstraintValidator.cs
- DataGridParentRows.cs
- MethodBuilderInstantiation.cs
- ComboBox.cs
- AutoResetEvent.cs
- CodeVariableDeclarationStatement.cs
- StreamResourceInfo.cs
- ConnectionManagementElementCollection.cs
- PrivilegeNotHeldException.cs
- SqlDataSourceCommandParser.cs
- DataTableExtensions.cs
- DataContractAttribute.cs
- SeparatorAutomationPeer.cs
- RangeContentEnumerator.cs
- SecurityContextCookieSerializer.cs
- TableParagraph.cs
- TemplateBamlRecordReader.cs
- TraceUtils.cs
- linebase.cs
- RemoteWebConfigurationHostStream.cs
- AttachedProperty.cs
- Visual3D.cs
- ScriptModule.cs
- PropertyGridView.cs
- User.cs
- RedBlackList.cs
- IntSecurity.cs
- FactoryGenerator.cs
- ListViewItem.cs
- PenContext.cs
- TableMethodGenerator.cs
- Compiler.cs
- SamlAudienceRestrictionCondition.cs
- SafeLibraryHandle.cs
- Timer.cs
- HttpHandlerAction.cs
- PartialArray.cs
- BufferBuilder.cs
- TextRangeProviderWrapper.cs
- Rfc2898DeriveBytes.cs
- ReferentialConstraint.cs
- MediaTimeline.cs