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
- Point.cs
- HttpCachePolicy.cs
- X509KeyIdentifierClauseType.cs
- RotateTransform.cs
- ZipIOLocalFileDataDescriptor.cs
- Lasso.cs
- DashStyles.cs
- TextAction.cs
- Header.cs
- DataList.cs
- ResourceProviderFactory.cs
- Vector3DCollectionConverter.cs
- RadioButtonBaseAdapter.cs
- Int64Animation.cs
- BindStream.cs
- SignatureHelper.cs
- EntityDesignerBuildProvider.cs
- HttpListenerRequest.cs
- StackOverflowException.cs
- XmlSignificantWhitespace.cs
- SecureEnvironment.cs
- NetMsmqBindingCollectionElement.cs
- MediaEntryAttribute.cs
- OdbcInfoMessageEvent.cs
- ResourcePool.cs
- IdentityReference.cs
- WebPartMenuStyle.cs
- SignatureDescription.cs
- PlanCompilerUtil.cs
- MenuEventArgs.cs
- HitTestFilterBehavior.cs
- ArcSegment.cs
- PropertyEmitter.cs
- DBCommandBuilder.cs
- ProgressBarBrushConverter.cs
- DataRowComparer.cs
- RawTextInputReport.cs
- HatchBrush.cs
- ThumbButtonInfo.cs
- srgsitem.cs
- InkCanvas.cs
- ServicesUtilities.cs
- WindowsStatic.cs
- WebBrowsableAttribute.cs
- SystemWebCachingSectionGroup.cs
- CryptoApi.cs
- XmlQueryType.cs
- DES.cs
- TextParaLineResult.cs
- AttributeSetAction.cs
- HttpCapabilitiesSectionHandler.cs
- String.cs
- Pair.cs
- _SecureChannel.cs
- FileSystemWatcher.cs
- EntityKey.cs
- Dump.cs
- Overlapped.cs
- XmlMemberMapping.cs
- AttachedPropertyMethodSelector.cs
- XpsS0ValidatingLoader.cs
- OracleParameter.cs
- SecurityTokenValidationException.cs
- SchemaObjectWriter.cs
- ComplexType.cs
- FullTrustAssemblyCollection.cs
- PathGradientBrush.cs
- BrushConverter.cs
- Splitter.cs
- Empty.cs
- View.cs
- ArrayList.cs
- EmptyStringExpandableObjectConverter.cs
- ExtensionQuery.cs
- KeyMatchBuilder.cs
- TypeConverterHelper.cs
- RbTree.cs
- AsymmetricSignatureFormatter.cs
- UpdateManifestForBrowserApplication.cs
- ServiceHostingEnvironment.cs
- EditorPartChrome.cs
- UnsafePeerToPeerMethods.cs
- TextHidden.cs
- ListMarkerSourceInfo.cs
- SqlError.cs
- ping.cs
- HttpListenerRequest.cs
- ProcessModule.cs
- AssemblyUtil.cs
- DynamicPhysicalDiscoSearcher.cs
- LinqDataSourceDeleteEventArgs.cs
- odbcmetadatacolumnnames.cs
- MessageQueue.cs
- BrowserCapabilitiesCompiler.cs
- ImageKeyConverter.cs
- DataObjectEventArgs.cs
- Error.cs
- CompilationSection.cs
- GeneralTransform.cs
- DataSourceNameHandler.cs