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
- HybridDictionary.cs
- SerializationObjectManager.cs
- ToolboxItemAttribute.cs
- BamlResourceDeserializer.cs
- DSASignatureFormatter.cs
- StreamAsIStream.cs
- SequentialUshortCollection.cs
- TypedDataSetSchemaImporterExtensionFx35.cs
- WizardPanel.cs
- HostProtectionException.cs
- RightNameExpirationInfoPair.cs
- mactripleDES.cs
- AnnotationHighlightLayer.cs
- XPathNodeList.cs
- SizeIndependentAnimationStorage.cs
- HttpContextBase.cs
- BinaryFormatter.cs
- GraphicsState.cs
- DbProviderFactory.cs
- ArraySubsetEnumerator.cs
- StringStorage.cs
- CmsInterop.cs
- TransportSecurityProtocol.cs
- ConfigurationValue.cs
- IndexedEnumerable.cs
- XmlElementAttributes.cs
- SiteMapHierarchicalDataSourceView.cs
- CustomExpressionEventArgs.cs
- DataKeyCollection.cs
- StickyNoteAnnotations.cs
- SmiTypedGetterSetter.cs
- EntityStoreSchemaGenerator.cs
- Misc.cs
- Form.cs
- HMACRIPEMD160.cs
- TextCompositionManager.cs
- PageBuildProvider.cs
- Nullable.cs
- HierarchicalDataTemplate.cs
- MenuItem.cs
- StringReader.cs
- RegistryDataKey.cs
- ToolStripGripRenderEventArgs.cs
- TemplatePartAttribute.cs
- Stream.cs
- DataConnectionHelper.cs
- CharacterMetricsDictionary.cs
- DataContractSerializer.cs
- WCFServiceClientProxyGenerator.cs
- ObjectDisposedException.cs
- SimpleHandlerFactory.cs
- Exception.cs
- _UriTypeConverter.cs
- ImportContext.cs
- BindingList.cs
- ServicesUtilities.cs
- DiscoveryVersion.cs
- FixedTextPointer.cs
- TextEmbeddedObject.cs
- TextFormatter.cs
- HttpContextBase.cs
- __ConsoleStream.cs
- AppModelKnownContentFactory.cs
- PanelStyle.cs
- Setter.cs
- DesignerProperties.cs
- ChannelAcceptor.cs
- UserMapPath.cs
- FlowNode.cs
- WebHttpSecurityModeHelper.cs
- GenericUriParser.cs
- columnmapfactory.cs
- MarkupExtensionParser.cs
- Focus.cs
- XmlSchemaParticle.cs
- HttpAsyncResult.cs
- ClonableStack.cs
- BitmapEffectCollection.cs
- DependencyProperty.cs
- Publisher.cs
- ClientFormsIdentity.cs
- VirtualDirectoryMappingCollection.cs
- CLRBindingWorker.cs
- StringUtil.cs
- CutCopyPasteHelper.cs
- BrowserCapabilitiesFactoryBase.cs
- BinaryReader.cs
- CodeObject.cs
- XmlJsonReader.cs
- SoapEnumAttribute.cs
- OperationCanceledException.cs
- IsolatedStorageFile.cs
- AdjustableArrowCap.cs
- KeySplineConverter.cs
- CaseCqlBlock.cs
- LinkedList.cs
- OracleFactory.cs
- EastAsianLunisolarCalendar.cs
- ExpressionBindings.cs
- SignatureToken.cs