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
- WebBrowserNavigatingEventHandler.cs
- Types.cs
- RegexCompilationInfo.cs
- ToolStripLocationCancelEventArgs.cs
- Select.cs
- VirtualPathUtility.cs
- MultiTrigger.cs
- RoutedEventValueSerializer.cs
- LocalBuilder.cs
- IndexedEnumerable.cs
- HttpConfigurationSystem.cs
- InvokeMethod.cs
- XmlCharCheckingWriter.cs
- input.cs
- PermissionAttributes.cs
- SamlConditions.cs
- Binding.cs
- ObservableDictionary.cs
- DataServiceRequestException.cs
- DataSourceCacheDurationConverter.cs
- NoneExcludedImageIndexConverter.cs
- PublisherIdentityPermission.cs
- DbCommandTree.cs
- ComponentManagerBroker.cs
- ThaiBuddhistCalendar.cs
- CodeDomComponentSerializationService.cs
- OptimalTextSource.cs
- OutputCacheProfile.cs
- ErrorTableItemStyle.cs
- BamlVersionHeader.cs
- SubpageParaClient.cs
- PropertyDescriptor.cs
- XmlNodeChangedEventArgs.cs
- Italic.cs
- Rijndael.cs
- MsmqInputChannelListenerBase.cs
- Section.cs
- InputEventArgs.cs
- HWStack.cs
- TimelineCollection.cs
- PathStreamGeometryContext.cs
- DocumentPage.cs
- StylusCaptureWithinProperty.cs
- IPEndPoint.cs
- BinaryCommonClasses.cs
- TrustManagerPromptUI.cs
- Stylesheet.cs
- DashStyle.cs
- DataGridViewAdvancedBorderStyle.cs
- MessageSmuggler.cs
- EnvelopedPkcs7.cs
- InProcStateClientManager.cs
- EndOfStreamException.cs
- RectAnimationBase.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- CssTextWriter.cs
- DynamicDataRoute.cs
- NaturalLanguageHyphenator.cs
- X509CertificateStore.cs
- xsdvalidator.cs
- OleDbWrapper.cs
- Win32.cs
- InfoCardRSAPKCS1KeyExchangeDeformatter.cs
- AccessViolationException.cs
- Emitter.cs
- FileNotFoundException.cs
- DesignerVerb.cs
- Formatter.cs
- SourceItem.cs
- HotSpotCollection.cs
- documentsequencetextpointer.cs
- XmlSchemaDocumentation.cs
- TypeDelegator.cs
- validationstate.cs
- ReadOnlyPropertyMetadata.cs
- ConstraintEnumerator.cs
- KerberosRequestorSecurityTokenAuthenticator.cs
- DropDownHolder.cs
- Visual.cs
- WebPartConnectionsEventArgs.cs
- SourceInterpreter.cs
- VisualStyleElement.cs
- NotificationContext.cs
- FacetDescription.cs
- XmlComment.cs
- LinqDataSourceHelper.cs
- WindowsEditBoxRange.cs
- GeneralTransformGroup.cs
- ServiceCredentialsSecurityTokenManager.cs
- ReflectTypeDescriptionProvider.cs
- DbQueryCommandTree.cs
- JsonReaderDelegator.cs
- TextAdaptor.cs
- GridViewCommandEventArgs.cs
- MarshalByRefObject.cs
- DataGridViewTopLeftHeaderCell.cs
- MessageBox.cs
- HtmlCommandAdapter.cs
- WindowsStatusBar.cs
- ImageField.cs