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
- TabControlDesigner.cs
- PolicyException.cs
- LifetimeServices.cs
- RC2.cs
- DesignTimeVisibleAttribute.cs
- sqlinternaltransaction.cs
- XAMLParseException.cs
- XPathNavigatorReader.cs
- Currency.cs
- WebPartEventArgs.cs
- StringSorter.cs
- LinearQuaternionKeyFrame.cs
- PTProvider.cs
- BindableAttribute.cs
- EntityStoreSchemaGenerator.cs
- ItemsControlAutomationPeer.cs
- AnonymousIdentificationModule.cs
- SendMessageRecord.cs
- Bitmap.cs
- StatusBarPanel.cs
- TraceUtils.cs
- XmlILModule.cs
- PrintPreviewGraphics.cs
- Enum.cs
- WorkerRequest.cs
- HttpHandlersSection.cs
- HwndMouseInputProvider.cs
- WebBrowsableAttribute.cs
- OrderByQueryOptionExpression.cs
- FixedTextView.cs
- FileEnumerator.cs
- RegisteredArrayDeclaration.cs
- XmlMtomReader.cs
- ConfigErrorGlyph.cs
- BindingWorker.cs
- DiagnosticEventProvider.cs
- DbParameterCollectionHelper.cs
- FileDataSourceCache.cs
- BoundField.cs
- MethodCallConverter.cs
- EntityEntry.cs
- Stack.cs
- ConditionBrowserDialog.cs
- DoWorkEventArgs.cs
- ListCommandEventArgs.cs
- EpmTargetTree.cs
- SqlUdtInfo.cs
- CodeNamespaceImport.cs
- SchemaEntity.cs
- EventDescriptor.cs
- RadioButtonRenderer.cs
- WindowsNonControl.cs
- Section.cs
- x509store.cs
- OLEDB_Enum.cs
- Enum.cs
- EventMappingSettings.cs
- LinkLabel.cs
- TraceContextRecord.cs
- SchemaElement.cs
- FormatStringEditor.cs
- XmlNamespaceMappingCollection.cs
- StorageEntityTypeMapping.cs
- FamilyCollection.cs
- WindowsTitleBar.cs
- DownloadProgressEventArgs.cs
- GroupBox.cs
- DataRelationPropertyDescriptor.cs
- InstanceKeyCollisionException.cs
- PathFigureCollectionValueSerializer.cs
- DocumentGrid.cs
- WebPartConnectionsConnectVerb.cs
- Quad.cs
- ObjectMemberMapping.cs
- Vertex.cs
- ServiceModelConfigurationSectionGroup.cs
- SortedList.cs
- InputBuffer.cs
- PageRequestManager.cs
- LabelEditEvent.cs
- DescendantQuery.cs
- ResourceExpression.cs
- ExpressionHelper.cs
- RouteCollection.cs
- ContractMapping.cs
- CorrelationManager.cs
- FamilyCollection.cs
- errorpatternmatcher.cs
- UnsafeNetInfoNativeMethods.cs
- QuestionEventArgs.cs
- XmlUTF8TextWriter.cs
- _UriSyntax.cs
- DataGridViewRowCollection.cs
- TypeForwardedToAttribute.cs
- NavigationPropertySingletonExpression.cs
- DrawingCollection.cs
- RsaSecurityKey.cs
- SQLMembershipProvider.cs
- RuntimeArgumentHandle.cs
- DataRecordInfo.cs