Code:
/ DotNET / DotNET / 8.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
- OpCopier.cs
- DBConnection.cs
- CriticalExceptions.cs
- EventToken.cs
- ResourceWriter.cs
- IpcChannelHelper.cs
- BitmapCodecInfo.cs
- WSAddressing10ProblemHeaderQNameFault.cs
- DrawingAttributesDefaultValueFactory.cs
- PagePropertiesChangingEventArgs.cs
- ContentPropertyAttribute.cs
- Rules.cs
- ReadWriteSpinLock.cs
- AuthorizationRule.cs
- InputEventArgs.cs
- HttpHandlerAction.cs
- XmlSortKey.cs
- CodeMethodInvokeExpression.cs
- StreamInfo.cs
- ContentPathSegment.cs
- CorrelationService.cs
- TableHeaderCell.cs
- DebugInfo.cs
- AuthenticationServiceManager.cs
- SortDescriptionCollection.cs
- MetricEntry.cs
- XmlComment.cs
- CurrentChangedEventManager.cs
- StreamResourceInfo.cs
- Control.cs
- PostBackOptions.cs
- SendActivityEventArgs.cs
- StreamInfo.cs
- RewritingPass.cs
- SchemaInfo.cs
- DuplicateWaitObjectException.cs
- ObjectListCommand.cs
- SplitterCancelEvent.cs
- CompressedStack.cs
- Crypto.cs
- NullableDecimalSumAggregationOperator.cs
- AutomationAttributeInfo.cs
- TreeNodeCollection.cs
- LogRestartAreaEnumerator.cs
- InstanceData.cs
- HtmlValidationSummaryAdapter.cs
- NameTable.cs
- LayoutEditorPart.cs
- ButtonPopupAdapter.cs
- JavaScriptString.cs
- QueryCacheManager.cs
- SingleStorage.cs
- NumberSubstitution.cs
- FunctionMappingTranslator.cs
- XmlSchemaSimpleTypeList.cs
- EncodingTable.cs
- RoleGroupCollection.cs
- SaveFileDialog.cs
- _SpnDictionary.cs
- LinearGradientBrush.cs
- VariableBinder.cs
- BlockCollection.cs
- ImageDrawing.cs
- DataPagerFieldItem.cs
- SendKeys.cs
- CompilationRelaxations.cs
- TextStore.cs
- SymmetricKeyWrap.cs
- XmlMemberMapping.cs
- HttpSysSettings.cs
- LockCookie.cs
- TraceSection.cs
- DataGridViewSelectedCellCollection.cs
- XmlTextReaderImpl.cs
- PropertyItem.cs
- TreeViewAutomationPeer.cs
- RsaSecurityKey.cs
- XmlQueryRuntime.cs
- BamlLocalizabilityResolver.cs
- TextSimpleMarkerProperties.cs
- TreeViewHitTestInfo.cs
- DebuggerAttributes.cs
- DynamicResourceExtensionConverter.cs
- SoapElementAttribute.cs
- OpenTypeLayout.cs
- EntityViewGenerationAttribute.cs
- ToolStripGrip.cs
- PictureBox.cs
- UriScheme.cs
- ListMarkerSourceInfo.cs
- Menu.cs
- PublishLicense.cs
- ClonableStack.cs
- AnnotationDocumentPaginator.cs
- SoapSchemaMember.cs
- CodeExpressionStatement.cs
- SqlCacheDependencyDatabaseCollection.cs
- VerticalConnector.xaml.cs
- DataStreams.cs
- XmlLanguage.cs