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
- ObjectDataSourceDisposingEventArgs.cs
- UnknownBitmapDecoder.cs
- SamlAudienceRestrictionCondition.cs
- Mappings.cs
- RtfToken.cs
- FormatVersion.cs
- ListManagerBindingsCollection.cs
- HtmlTable.cs
- SoapAttributeOverrides.cs
- ComplexObject.cs
- OracleParameterCollection.cs
- SplitterEvent.cs
- ObjectDataProvider.cs
- EntityDataSourceEntityTypeFilterConverter.cs
- SqlCacheDependency.cs
- ObjectReaderCompiler.cs
- SqlUnionizer.cs
- ObjectConverter.cs
- PrintPreviewDialog.cs
- SecurityTokenReferenceStyle.cs
- InteropBitmapSource.cs
- TriggerActionCollection.cs
- MessageQueuePermission.cs
- SecurityUtils.cs
- SiteMap.cs
- RawStylusSystemGestureInputReport.cs
- DrawingImage.cs
- CqlLexerHelpers.cs
- InternalConfigRoot.cs
- SettingsPropertyValueCollection.cs
- FrameDimension.cs
- SortedList.cs
- RunClient.cs
- Context.cs
- _Rfc2616CacheValidators.cs
- CellTreeNodeVisitors.cs
- TableItemProviderWrapper.cs
- Group.cs
- GridViewUpdatedEventArgs.cs
- MenuItemStyleCollection.cs
- EmissiveMaterial.cs
- HexParser.cs
- SqlWebEventProvider.cs
- ServerIdentity.cs
- COM2IDispatchConverter.cs
- MetadataSource.cs
- NestPullup.cs
- DllNotFoundException.cs
- CollectionBuilder.cs
- DrawingDrawingContext.cs
- MetabaseReader.cs
- SchemaImporterExtensionElementCollection.cs
- RequestCacheManager.cs
- TransformGroup.cs
- MessageQueueInstaller.cs
- InlineUIContainer.cs
- AsymmetricKeyExchangeFormatter.cs
- DbProviderSpecificTypePropertyAttribute.cs
- ProjectedWrapper.cs
- MessageDescriptionCollection.cs
- HttpCacheParams.cs
- DebugView.cs
- WeakEventManager.cs
- PropVariant.cs
- AutomationPatternInfo.cs
- SoapProtocolReflector.cs
- BindingValueChangedEventArgs.cs
- PersonalizablePropertyEntry.cs
- CryptoApi.cs
- XPathDescendantIterator.cs
- DomainUpDown.cs
- ViewPort3D.cs
- SqlClientMetaDataCollectionNames.cs
- DelayedRegex.cs
- FixedTextContainer.cs
- KoreanCalendar.cs
- DesignTimeType.cs
- FormatConvertedBitmap.cs
- NopReturnReader.cs
- CodePageEncoding.cs
- XDRSchema.cs
- NumericUpDownAccelerationCollection.cs
- SqlDataSourceCommandEventArgs.cs
- FilterEventArgs.cs
- TreeViewDesigner.cs
- SmtpClient.cs
- ToolStripStatusLabel.cs
- ConfigUtil.cs
- ContextMenuAutomationPeer.cs
- Matrix.cs
- RelationshipWrapper.cs
- OdbcInfoMessageEvent.cs
- HtmlTextArea.cs
- XmlSchemas.cs
- HtmlContainerControl.cs
- SqlDependencyListener.cs
- BitmapEffect.cs
- ListBindingHelper.cs
- TextDataBindingHandler.cs
- BrowserPolicyValidator.cs