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
- ButtonBaseAutomationPeer.cs
- DataContractJsonSerializer.cs
- DynamicQueryStringParameter.cs
- BindingValueChangedEventArgs.cs
- ExceptionUtil.cs
- SoapFormatExtensions.cs
- DocumentSchemaValidator.cs
- TraceUtility.cs
- WindowsFormsHostAutomationPeer.cs
- NullNotAllowedCollection.cs
- XmlLoader.cs
- StreamWithDictionary.cs
- DispatchWrapper.cs
- PackageDigitalSignature.cs
- QuaternionAnimation.cs
- LowerCaseStringConverter.cs
- TypeResolver.cs
- SplayTreeNode.cs
- MaterialGroup.cs
- EditModeSwitchButton.cs
- MenuItem.cs
- BaseServiceProvider.cs
- SHA256.cs
- WebPartDescription.cs
- ConnectorMovedEventArgs.cs
- Canvas.cs
- MbpInfo.cs
- CapabilitiesUse.cs
- RelationshipEntry.cs
- DocumentsTrace.cs
- PeerNameRegistration.cs
- MiniModule.cs
- DomNameTable.cs
- BuildProvider.cs
- XmlSchemaInferenceException.cs
- ReachFixedPageSerializerAsync.cs
- SqlUserDefinedTypeAttribute.cs
- ListChunk.cs
- ResolveCriteriaApril2005.cs
- HttpVersion.cs
- TextChangedEventArgs.cs
- _AutoWebProxyScriptEngine.cs
- ProcessManager.cs
- Calendar.cs
- DashStyle.cs
- ToolStripDropDownItemDesigner.cs
- FileRecordSequenceCompletedAsyncResult.cs
- HttpListenerContext.cs
- WebPageTraceListener.cs
- Span.cs
- CodeAssignStatement.cs
- SerializationInfo.cs
- EndpointConfigContainer.cs
- HasCopySemanticsAttribute.cs
- MobileControlPersister.cs
- CertificateManager.cs
- Int32Rect.cs
- XmlSchemaType.cs
- OdbcRowUpdatingEvent.cs
- IPEndPointCollection.cs
- Mapping.cs
- DataControlImageButton.cs
- DataGridViewCellPaintingEventArgs.cs
- KeyValueInternalCollection.cs
- TypeHelpers.cs
- Viewport2DVisual3D.cs
- Win32PrintDialog.cs
- GenericNameHandler.cs
- TagPrefixAttribute.cs
- TcpAppDomainProtocolHandler.cs
- InputReport.cs
- FileLogRecordEnumerator.cs
- SoapCodeExporter.cs
- ImageCodecInfoPrivate.cs
- OrthographicCamera.cs
- Events.cs
- InkCanvas.cs
- ConstNode.cs
- InputReportEventArgs.cs
- _SpnDictionary.cs
- FolderLevelBuildProviderCollection.cs
- DesignerSerializationOptionsAttribute.cs
- ResourceDescriptionAttribute.cs
- RegionData.cs
- TypeViewSchema.cs
- QueryCacheEntry.cs
- DurableInstanceContextProvider.cs
- SqlProvider.cs
- ConfigXmlDocument.cs
- DataServiceRequestArgs.cs
- cryptoapiTransform.cs
- AppLevelCompilationSectionCache.cs
- RectangleHotSpot.cs
- ConnectionStringsExpressionBuilder.cs
- TextFormatter.cs
- SecurityTokenValidationException.cs
- FillBehavior.cs
- ScriptingWebServicesSectionGroup.cs
- COSERVERINFO.cs
- ExpressionList.cs