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
- InternalResources.cs
- ContainerFilterService.cs
- WebPartConnectionsCloseVerb.cs
- TextPenaltyModule.cs
- ContainerControlDesigner.cs
- DefaultValueAttribute.cs
- ShapeTypeface.cs
- ConfigXmlCDataSection.cs
- HostProtectionPermission.cs
- TypedReference.cs
- BitmapMetadataEnumerator.cs
- ReliableDuplexSessionChannel.cs
- TypeSystem.cs
- TypedElement.cs
- MemberMaps.cs
- Stack.cs
- SerializationAttributes.cs
- HwndKeyboardInputProvider.cs
- QilDataSource.cs
- TrustLevelCollection.cs
- ISessionStateStore.cs
- HyperLinkStyle.cs
- GridViewCommandEventArgs.cs
- MenuTracker.cs
- BooleanExpr.cs
- securestring.cs
- BindableAttribute.cs
- PenThreadPool.cs
- CSharpCodeProvider.cs
- TypeDependencyAttribute.cs
- TrackingProvider.cs
- OleDbConnectionInternal.cs
- HorizontalAlignConverter.cs
- SystemPens.cs
- Debug.cs
- ActivityBuilder.cs
- Base64Encoder.cs
- NavigationHelper.cs
- IndexedString.cs
- Dispatcher.cs
- MessageQueue.cs
- XmlWellformedWriterHelpers.cs
- DataSetFieldSchema.cs
- XamlPathDataSerializer.cs
- EnterpriseServicesHelper.cs
- DispatcherExceptionEventArgs.cs
- SystemIPv4InterfaceProperties.cs
- MenuItemStyle.cs
- PtsHost.cs
- EventMappingSettings.cs
- Configuration.cs
- OracleColumn.cs
- AdornerDecorator.cs
- TextInfo.cs
- ContextProperty.cs
- CustomErrorCollection.cs
- HttpDateParse.cs
- StringAnimationBase.cs
- ScrollableControl.cs
- DefaultDiscoveryServiceExtension.cs
- RecognizeCompletedEventArgs.cs
- TextEffect.cs
- Vector3DIndependentAnimationStorage.cs
- RsaKeyIdentifierClause.cs
- ConfigurationStrings.cs
- LineInfo.cs
- CompilerTypeWithParams.cs
- SqlCacheDependencyDatabase.cs
- DbCommandTree.cs
- VerbConverter.cs
- HashMembershipCondition.cs
- SecurityUtils.cs
- AffineTransform3D.cs
- DataBoundControlAdapter.cs
- TimeStampChecker.cs
- SelectedDatesCollection.cs
- EventlogProvider.cs
- LockCookie.cs
- IDReferencePropertyAttribute.cs
- FormViewUpdatedEventArgs.cs
- UnhandledExceptionEventArgs.cs
- StreamResourceInfo.cs
- ConnectionStringsExpressionBuilder.cs
- ToolboxDataAttribute.cs
- ToolStripPanelRenderEventArgs.cs
- ColorPalette.cs
- Select.cs
- GraphicsContainer.cs
- SQLCharsStorage.cs
- OrCondition.cs
- Claim.cs
- ReaderContextStackData.cs
- HtmlSelectionListAdapter.cs
- RegionIterator.cs
- RealizationDrawingContextWalker.cs
- TextReturnReader.cs
- SimpleFieldTemplateUserControl.cs
- RegionIterator.cs
- PowerModeChangedEventArgs.cs
- NamespaceList.cs