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
- ClientType.cs
- CustomErrorCollection.cs
- EnumType.cs
- GlyphRunDrawing.cs
- DataPagerField.cs
- MediaPlayer.cs
- XmlSchemaComplexType.cs
- ObjectPersistData.cs
- Bits.cs
- XsltArgumentList.cs
- Bezier.cs
- EnvironmentPermission.cs
- FontInfo.cs
- StatusBarDrawItemEvent.cs
- RelationshipFixer.cs
- HostedBindingBehavior.cs
- PanelDesigner.cs
- PolicyException.cs
- InstanceOwnerException.cs
- SqlDataSourceEnumerator.cs
- ClusterSafeNativeMethods.cs
- CachedFontFamily.cs
- BaseProcessor.cs
- CustomExpressionEventArgs.cs
- NonVisualControlAttribute.cs
- counter.cs
- OutputCacheModule.cs
- MethodCallConverter.cs
- __FastResourceComparer.cs
- TextEditorCopyPaste.cs
- SHA384.cs
- CanonicalFontFamilyReference.cs
- NavigationProperty.cs
- ZipFileInfo.cs
- XmlQueryOutput.cs
- ProviderException.cs
- FileDialog_Vista.cs
- SqlPersistenceWorkflowInstanceDescription.cs
- SystemParameters.cs
- SelectionEditingBehavior.cs
- HostProtectionPermission.cs
- SynchronizationContext.cs
- WebBrowserSiteBase.cs
- PhotoPrintingIntent.cs
- LineInfo.cs
- LostFocusEventManager.cs
- BaseTemplateParser.cs
- QueryLifecycle.cs
- Classification.cs
- counter.cs
- FileFormatException.cs
- EntityViewGenerator.cs
- InkCanvasFeedbackAdorner.cs
- SmiXetterAccessMap.cs
- BuildProviderAppliesToAttribute.cs
- EdmRelationshipRoleAttribute.cs
- JsonReaderWriterFactory.cs
- SelectionHighlightInfo.cs
- RoleService.cs
- ListViewUpdateEventArgs.cs
- FormsAuthenticationTicket.cs
- WebPartConnectionsEventArgs.cs
- ToolboxItemAttribute.cs
- DataGridViewCell.cs
- PropertyTab.cs
- ConfigXmlWhitespace.cs
- SymDocumentType.cs
- CodeLabeledStatement.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- Condition.cs
- PasswordTextNavigator.cs
- InvalidProgramException.cs
- UnmanagedMemoryStream.cs
- TextServicesPropertyRanges.cs
- ImplicitInputBrush.cs
- Int16KeyFrameCollection.cs
- WindowsSidIdentity.cs
- WmlLiteralTextAdapter.cs
- EmbeddedMailObject.cs
- PropertyIDSet.cs
- XmlSerializationWriter.cs
- GenericsNotImplementedException.cs
- InertiaTranslationBehavior.cs
- StringWriter.cs
- ToolStripProgressBar.cs
- ParagraphResult.cs
- SessionStateModule.cs
- TextElement.cs
- GifBitmapDecoder.cs
- StreamProxy.cs
- StringBuilder.cs
- EdmType.cs
- XmlSchemaResource.cs
- Delegate.cs
- LoginName.cs
- RectAnimation.cs
- DataGridViewDataConnection.cs
- LedgerEntry.cs
- OpenTypeCommon.cs
- BaseInfoTable.cs