Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- Clock.cs
- ThicknessAnimationBase.cs
- FixedSOMTableRow.cs
- TypeBrowserDialog.cs
- TransactionTable.cs
- BidOverLoads.cs
- _PooledStream.cs
- FontUnit.cs
- SharedStatics.cs
- BinaryConverter.cs
- DefaultAssemblyResolver.cs
- CaseInsensitiveHashCodeProvider.cs
- PlanCompiler.cs
- DesignTimeType.cs
- Expression.cs
- ArraySortHelper.cs
- PropertyItemInternal.cs
- BaseDataListActionList.cs
- VariantWrapper.cs
- DataGridColumnCollectionEditor.cs
- MLangCodePageEncoding.cs
- XmlMembersMapping.cs
- RowUpdatedEventArgs.cs
- TaskFormBase.cs
- OleDbException.cs
- RadialGradientBrush.cs
- StringAnimationUsingKeyFrames.cs
- InstanceKeyView.cs
- IdnMapping.cs
- FileChangeNotifier.cs
- LayoutUtils.cs
- ObjectPersistData.cs
- ToolTip.cs
- FixedSOMFixedBlock.cs
- PhotoPrintingIntent.cs
- TextHidden.cs
- HttpModuleCollection.cs
- shaper.cs
- Control.cs
- MasterPageBuildProvider.cs
- ProcessModuleCollection.cs
- CookielessHelper.cs
- ComboBoxHelper.cs
- WebBrowsableAttribute.cs
- IxmlLineInfo.cs
- ScrollEventArgs.cs
- GridViewDesigner.cs
- SpotLight.cs
- QueryCursorEventArgs.cs
- CustomAttribute.cs
- CharKeyFrameCollection.cs
- PageAsyncTaskManager.cs
- HwndSourceParameters.cs
- WorkflowTraceTransfer.cs
- CompressedStack.cs
- TryCatchDesigner.xaml.cs
- InputLanguage.cs
- SqlNotificationRequest.cs
- AliasedSlot.cs
- PeerName.cs
- Dump.cs
- TypeExtensionConverter.cs
- PassportAuthenticationEventArgs.cs
- WebZone.cs
- OleDbDataReader.cs
- StateInitializationDesigner.cs
- ZoomPercentageConverter.cs
- OracleParameter.cs
- StringFunctions.cs
- PageHandlerFactory.cs
- PeerTransportBindingElement.cs
- IntSecurity.cs
- SmiMetaDataProperty.cs
- InputProviderSite.cs
- TextTreeTextElementNode.cs
- QilIterator.cs
- XmlDictionaryReader.cs
- DBSchemaTable.cs
- AuthenticationSection.cs
- CommandBindingCollection.cs
- KeyToListMap.cs
- DSASignatureFormatter.cs
- DetailsView.cs
- FontUnit.cs
- EastAsianLunisolarCalendar.cs
- Random.cs
- webproxy.cs
- EmptyImpersonationContext.cs
- Compress.cs
- BindingObserver.cs
- BoolLiteral.cs
- TCPListener.cs
- ObjectSelectorEditor.cs
- MetadataArtifactLoaderFile.cs
- NativeObjectSecurity.cs
- WindowsUserNameSecurityTokenAuthenticator.cs
- WorkItem.cs
- SystemIPInterfaceStatistics.cs
- GeneralTransform3DGroup.cs
- TextTreeFixupNode.cs