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
- LeaseManager.cs
- DateTimeParse.cs
- OutputCacheProviderCollection.cs
- TaiwanCalendar.cs
- ReadWriteSpinLock.cs
- ProtocolImporter.cs
- TaskCanceledException.cs
- LogRestartAreaEnumerator.cs
- NativeRightsManagementAPIsStructures.cs
- SinglePageViewer.cs
- SeparatorAutomationPeer.cs
- GetIndexBinder.cs
- TerminatorSinks.cs
- ToolTip.cs
- EnumerableCollectionView.cs
- WpfPayload.cs
- StructuralType.cs
- CheckoutException.cs
- Scene3D.cs
- RegexWriter.cs
- SpeechEvent.cs
- WebPartCloseVerb.cs
- BitmapEffectvisualstate.cs
- CodeCommentStatementCollection.cs
- TextServicesCompartmentEventSink.cs
- HandlerBase.cs
- CommandID.cs
- UdpAnnouncementEndpoint.cs
- MonthCalendar.cs
- WebScriptServiceHostFactory.cs
- TextRange.cs
- ZoneMembershipCondition.cs
- DesignerForm.cs
- UpdateTracker.cs
- NetworkInterface.cs
- MsmqEncryptionAlgorithm.cs
- XamlTypeMapper.cs
- TemplateComponentConnector.cs
- WebBrowserDocumentCompletedEventHandler.cs
- DbConnectionInternal.cs
- PauseStoryboard.cs
- ScanQueryOperator.cs
- FormViewModeEventArgs.cs
- DrawToolTipEventArgs.cs
- MultipleViewPatternIdentifiers.cs
- COM2IDispatchConverter.cs
- _LoggingObject.cs
- UnitySerializationHolder.cs
- wgx_commands.cs
- BamlMapTable.cs
- XmlRawWriterWrapper.cs
- Pkcs9Attribute.cs
- LoginCancelEventArgs.cs
- Parameter.cs
- RadialGradientBrush.cs
- SqlDataSourceConnectionPanel.cs
- DependencyPropertyKey.cs
- EventHandlerList.cs
- StructuredTypeInfo.cs
- TextEffectResolver.cs
- FreezableCollection.cs
- WSTransactionSection.cs
- XsltLibrary.cs
- NullRuntimeConfig.cs
- LocatorManager.cs
- Separator.cs
- StatusBarPanelClickEvent.cs
- TypeLoadException.cs
- ChannelFactory.cs
- XmlHierarchicalDataSourceView.cs
- WebPart.cs
- ConfigurationSchemaErrors.cs
- PropertyValueUIItem.cs
- PackageRelationship.cs
- WebPartEditorOkVerb.cs
- ListBoxItemAutomationPeer.cs
- SerialErrors.cs
- MergeFilterQuery.cs
- XsdBuildProvider.cs
- EventArgs.cs
- BitmapEffectGeneralTransform.cs
- ComponentChangingEvent.cs
- BitmapEffectDrawingContextState.cs
- PathTooLongException.cs
- InstanceNormalEvent.cs
- WizardPanel.cs
- EditorPartCollection.cs
- ConnectAlgorithms.cs
- BaseCodePageEncoding.cs
- VisualStyleInformation.cs
- SignatureSummaryDialog.cs
- XmlTextAttribute.cs
- PreProcessor.cs
- CodeActivityMetadata.cs
- XmlAttributeCache.cs
- XmlCompatibilityReader.cs
- VectorKeyFrameCollection.cs
- OperationAbortedException.cs
- XsltSettings.cs
- WindowsFormsEditorServiceHelper.cs