Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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; } } } }/// The listener. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- PropertyCollection.cs
- AssemblySettingAttributes.cs
- COM2ComponentEditor.cs
- MailAddressCollection.cs
- TripleDESCryptoServiceProvider.cs
- CatalogZoneAutoFormat.cs
- StyleXamlTreeBuilder.cs
- LinkLabelLinkClickedEvent.cs
- Animatable.cs
- MarshalDirectiveException.cs
- DataSourceViewSchemaConverter.cs
- HuffCodec.cs
- DataTableCollection.cs
- FormViewDeletedEventArgs.cs
- SamlAssertionKeyIdentifierClause.cs
- Properties.cs
- DiagnosticsConfiguration.cs
- XmlSchemaValidationException.cs
- Compensate.cs
- MruCache.cs
- JulianCalendar.cs
- XsdBuildProvider.cs
- Soap.cs
- contentDescriptor.cs
- OdbcInfoMessageEvent.cs
- SponsorHelper.cs
- TriggerCollection.cs
- RelationalExpressions.cs
- ThemeDirectoryCompiler.cs
- SqlBulkCopyColumnMappingCollection.cs
- ConstructorArgumentAttribute.cs
- PathGeometry.cs
- FormViewUpdatedEventArgs.cs
- ThumbAutomationPeer.cs
- DoubleAnimationUsingPath.cs
- SafeEventLogWriteHandle.cs
- IdentityModelDictionary.cs
- ObjectDataSourceMethodEventArgs.cs
- Memoizer.cs
- SettingsPropertyIsReadOnlyException.cs
- UrlMappingsSection.cs
- XmlCDATASection.cs
- UrlPath.cs
- XmlNavigatorStack.cs
- UserNameSecurityToken.cs
- StreamInfo.cs
- SubqueryRules.cs
- ObjectManager.cs
- ISFClipboardData.cs
- DetailsViewAutoFormat.cs
- CacheModeValueSerializer.cs
- InternalResources.cs
- UpdateExpressionVisitor.cs
- DragCompletedEventArgs.cs
- SqlUtil.cs
- Claim.cs
- SchemaElementLookUpTableEnumerator.cs
- Pens.cs
- DynamicAttribute.cs
- DeleteBookmarkScope.cs
- InstanceCompleteException.cs
- PolyBezierSegment.cs
- SqlProfileProvider.cs
- WindowsListView.cs
- Internal.cs
- RecognizerInfo.cs
- DateTimeSerializationSection.cs
- EdmTypeAttribute.cs
- AutomationPropertyInfo.cs
- EntityCommandDefinition.cs
- DataGridViewBand.cs
- ApplyImportsAction.cs
- BitSet.cs
- CodeParameterDeclarationExpression.cs
- ProcessStartInfo.cs
- DataViewSetting.cs
- Vector.cs
- ConditionalExpression.cs
- Geometry3D.cs
- Decimal.cs
- WinFormsComponentEditor.cs
- DecimalAnimation.cs
- StandardBindingReliableSessionElement.cs
- Effect.cs
- Brush.cs
- HwndSubclass.cs
- HexParser.cs
- ToolStripCollectionEditor.cs
- DeadCharTextComposition.cs
- DataSourceHelper.cs
- ScriptControlDescriptor.cs
- ViewKeyConstraint.cs
- ScrollViewer.cs
- DocumentPageTextView.cs
- NonSerializedAttribute.cs
- BidPrivateBase.cs
- IdentityNotMappedException.cs
- WindowVisualStateTracker.cs
- ThemeableAttribute.cs
- PathGradientBrush.cs