Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / CodeDOM / CodeRemoveEventStatement.cs / 1305376 / CodeRemoveEventStatement.cs
//------------------------------------------------------------------------------ //// // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ 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. /// ///// // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ 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
- EmulateRecognizeCompletedEventArgs.cs
- ConstantSlot.cs
- x509utils.cs
- GuidelineSet.cs
- GridViewEditEventArgs.cs
- InputScope.cs
- Marshal.cs
- RTTypeWrapper.cs
- PreloadedPackages.cs
- TraceXPathNavigator.cs
- ScriptMethodAttribute.cs
- SqlCacheDependencyDatabase.cs
- COM2ComponentEditor.cs
- Image.cs
- VectorCollectionConverter.cs
- AssemblyHash.cs
- TextEditorMouse.cs
- GridViewPageEventArgs.cs
- XmlSchemaType.cs
- SchemaImporterExtensionsSection.cs
- OdbcPermission.cs
- StringTraceRecord.cs
- WindowsRichEdit.cs
- ComPlusTraceRecord.cs
- WebBrowserUriTypeConverter.cs
- NativeMethods.cs
- DocumentReference.cs
- NavigateEvent.cs
- ResourceManager.cs
- GetPageNumberCompletedEventArgs.cs
- NeutralResourcesLanguageAttribute.cs
- LogRecordSequence.cs
- XamlFigureLengthSerializer.cs
- GeneralTransform3D.cs
- DataServiceResponse.cs
- ModifyActivitiesPropertyDescriptor.cs
- TextEffectCollection.cs
- LicenseContext.cs
- DoubleLinkList.cs
- SafeNativeMethodsMilCoreApi.cs
- MethodImplAttribute.cs
- ProcessModuleDesigner.cs
- RawStylusInput.cs
- SspiHelper.cs
- AsymmetricKeyExchangeFormatter.cs
- ComponentEditorForm.cs
- ISO2022Encoding.cs
- MULTI_QI.cs
- HttpConfigurationSystem.cs
- UnsafeNativeMethods.cs
- PropertyTabAttribute.cs
- Int64Storage.cs
- IdentityReference.cs
- WindowsPen.cs
- TemplateNameScope.cs
- DataGridViewTopLeftHeaderCell.cs
- TextEditorContextMenu.cs
- DetailsViewModeEventArgs.cs
- RegistryKey.cs
- StorageMappingFragment.cs
- NativeObjectSecurity.cs
- Set.cs
- Imaging.cs
- WebPartAuthorizationEventArgs.cs
- ExpressionVisitorHelpers.cs
- PartBasedPackageProperties.cs
- KnownTypesHelper.cs
- WebPartConnectVerb.cs
- EdgeModeValidation.cs
- UInt32.cs
- CollectionViewGroupInternal.cs
- ChtmlTextWriter.cs
- OdbcTransaction.cs
- TemplateComponentConnector.cs
- ExpressionEditorSheet.cs
- autovalidator.cs
- PhonemeEventArgs.cs
- RenderingBiasValidation.cs
- PackWebRequest.cs
- EntitySetRetriever.cs
- InputMethodStateTypeInfo.cs
- MouseActionConverter.cs
- ChtmlSelectionListAdapter.cs
- GreenMethods.cs
- PositiveTimeSpanValidator.cs
- EntityDataSourceContainerNameItem.cs
- FileUtil.cs
- EncodingDataItem.cs
- FilterQueryOptionExpression.cs
- WindowsMenu.cs
- ReaderWriterLockWrapper.cs
- ColumnHeaderConverter.cs
- RegularExpressionValidator.cs
- EdmToObjectNamespaceMap.cs
- HttpFormatExtensions.cs
- Message.cs
- FileCodeGroup.cs
- MatrixAnimationBase.cs
- CheckBoxStandardAdapter.cs
- InvalidOperationException.cs