Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- FocusChangedEventArgs.cs
- CompilationUtil.cs
- SerializationAttributes.cs
- UriSchemeKeyedCollection.cs
- TypeSystem.cs
- SqlProcedureAttribute.cs
- DivideByZeroException.cs
- OracleColumn.cs
- WebExceptionStatus.cs
- IRCollection.cs
- PropertyInformation.cs
- InvokePattern.cs
- DataBindingExpressionBuilder.cs
- EntityClientCacheKey.cs
- RegularExpressionValidator.cs
- ToolStripDropDownClosedEventArgs.cs
- ToolStripItemDesigner.cs
- NativeWrapper.cs
- EntityDataSourceChangingEventArgs.cs
- IConvertible.cs
- ProcessHostFactoryHelper.cs
- ReadOnlyMetadataCollection.cs
- DataGridBoolColumn.cs
- Delegate.cs
- AttributeCollection.cs
- HtmlInputHidden.cs
- SortKey.cs
- ProtocolsSection.cs
- EventDescriptorCollection.cs
- DefaultObjectMappingItemCollection.cs
- iisPickupDirectory.cs
- RuleSettings.cs
- LowerCaseStringConverter.cs
- TextServicesProperty.cs
- TraceLevelStore.cs
- ArgumentReference.cs
- HashSetDebugView.cs
- UserPersonalizationStateInfo.cs
- MarkerProperties.cs
- TraceSection.cs
- SuppressedPackageProperties.cs
- OptimalTextSource.cs
- WebConfigurationManager.cs
- MatrixUtil.cs
- ListControlActionList.cs
- Highlights.cs
- ListBoxItemWrapperAutomationPeer.cs
- CustomErrorsSectionWrapper.cs
- Opcode.cs
- ReadOnlyHierarchicalDataSourceView.cs
- DPCustomTypeDescriptor.cs
- FrameworkContentElement.cs
- TypedRowGenerator.cs
- XmlCompatibilityReader.cs
- MetadataItemEmitter.cs
- ListBindableAttribute.cs
- ItemAutomationPeer.cs
- CodeTypeReferenceExpression.cs
- TreeNode.cs
- GeneralTransform3D.cs
- BitmapEffectDrawing.cs
- BitmapFrameDecode.cs
- XmlDictionaryReader.cs
- VariableQuery.cs
- WindowsListViewItem.cs
- WindowsMenu.cs
- BlurBitmapEffect.cs
- ProfileModule.cs
- ChildrenQuery.cs
- ImmutableObjectAttribute.cs
- DeobfuscatingStream.cs
- DateTimeOffsetStorage.cs
- ConfigurationSection.cs
- CustomAssemblyResolver.cs
- XsltFunctions.cs
- PathGradientBrush.cs
- WmpBitmapEncoder.cs
- ArrayElementGridEntry.cs
- DataRecord.cs
- WindowsListViewItemStartMenu.cs
- mediaeventargs.cs
- ConstrainedDataObject.cs
- GZipUtils.cs
- PbrsForward.cs
- EtwTrace.cs
- LabelAutomationPeer.cs
- XsltContext.cs
- TemplateBamlRecordReader.cs
- EncoderExceptionFallback.cs
- ChineseLunisolarCalendar.cs
- StandardRuntimeEnumValidatorAttribute.cs
- X509ImageLogo.cs
- ResourceDescriptionAttribute.cs
- InfoCardRequestException.cs
- ScrollPatternIdentifiers.cs
- AccessibleObject.cs
- GeneralTransform.cs
- ServiceDescriptionImporter.cs
- ResourceDisplayNameAttribute.cs
- ValidateNames.cs